[cairo-commit] glitz/src/agl glitz_agl_context.c,1.3,1.4
David Reveman
commit at pdx.freedesktop.org
Mon Jul 4 03:33:03 PDT 2005
- Previous message: [cairo-commit] glitz ChangeLog,1.87,1.88 configure.in,1.22,1.23
- Next message: [cairo-commit] glitz/src glitz.c, 1.33, 1.34 glitz.h, 1.32,
1.33 glitz_framebuffer.c, 1.1, 1.2 glitz_geometry.c, 1.5,
1.6 glitz_pixel.c, 1.19, 1.20 glitz_rect.c, 1.16,
1.17 glitz_surface.c, 1.29, 1.30 glitz_texture.c, 1.18,
1.19 glitzint.h, 1.34, 1.35
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Committed by: davidr
Update of /cvs/cairo/glitz/src/agl
In directory gabe:/tmp/cvs-serv30344/src/agl
Modified Files:
glitz_agl_context.c
Log Message:
Fix GL_EXT_framebuffer_object support
Index: glitz_agl_context.c
===================================================================
RCS file: /cvs/cairo/glitz/src/agl/glitz_agl_context.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- glitz_agl_context.c 12 Apr 2005 14:54:56 -0000 1.3
+++ glitz_agl_context.c 4 Jul 2005 10:33:01 -0000 1.4
@@ -192,6 +192,14 @@
if (update)
{
+ if (drawable->thread_info->cctx)
+ {
+ glitz_context_t *ctx = drawable->thread_info->cctx;
+
+ if (ctx->lose_current)
+ ctx->lose_current (ctx->closure);
+ }
+
if (drawable->pbuffer) {
aglSetPBuffer (context->context, drawable->pbuffer, 0, 0,
aglGetVirtualScreen (context->context));
@@ -205,7 +213,7 @@
}
aglSetDrawable (context->context, drawable->drawable);
}
-
+
aglSetCurrentContext (context->context);
}
- Previous message: [cairo-commit] glitz ChangeLog,1.87,1.88 configure.in,1.22,1.23
- Next message: [cairo-commit] glitz/src glitz.c, 1.33, 1.34 glitz.h, 1.32,
1.33 glitz_framebuffer.c, 1.1, 1.2 glitz_geometry.c, 1.5,
1.6 glitz_pixel.c, 1.19, 1.20 glitz_rect.c, 1.16,
1.17 glitz_surface.c, 1.29, 1.30 glitz_texture.c, 1.18,
1.19 glitzint.h, 1.34, 1.35
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the cairo-commit
mailing list