[cairo-commit] glitz/src/egl glitz_egl_config.c, 1.3,
1.4 glitz_egl_context.c, 1.3, 1.4
David Reveman
commit at pdx.freedesktop.org
Mon Jan 2 05:23:48 PST 2006
Committed by: davidr
Update of /cvs/cairo/glitz/src/egl
In directory gabe:/tmp/cvs-serv5368/src/egl
Modified Files:
glitz_egl_config.c glitz_egl_context.c
Log Message:
EGL backend fix
Index: glitz_egl_config.c
===================================================================
RCS file: /cvs/cairo/glitz/src/egl/glitz_egl_config.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- glitz_egl_config.c 29 Nov 2005 22:41:27 -0000 1.3
+++ glitz_egl_config.c 2 Jan 2006 13:23:45 -0000 1.4
@@ -45,7 +45,7 @@
for (; i < 2; i++)
{
- if (format[i]->color.fourcc != GLITZ_FOURCC_RGB)
+ if (format[i]->d.color.fourcc != GLITZ_FOURCC_RGB)
score[i] -= 1000;
if (format[i]->d.color.red_size)
Index: glitz_egl_context.c
===================================================================
RCS file: /cvs/cairo/glitz/src/egl/glitz_egl_context.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- glitz_egl_context.c 21 Dec 2005 16:19:51 -0000 1.3
+++ glitz_egl_context.c 2 Jan 2006 13:23:45 -0000 1.4
@@ -122,7 +122,7 @@
drawable->base.height);
if ((eglGetCurrentContext () != context->egl_context) ||
- (eglGetCurrentSurface ( 0 ) != drawable->egl_surface))
+ (eglGetCurrentSurface ( EGL_READ ) != drawable->egl_surface))
{
if (display_info->thread_info->cctx)
{
More information about the cairo-commit
mailing list