diff options
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | src/egl/glitz_egl_config.c | 2 | ||||
-rw-r--r-- | src/egl/glitz_egl_context.c | 2 |
3 files changed, 10 insertions, 2 deletions
@@ -1,3 +1,11 @@ +2006-01-02 David Reveman <davidr@novell.com> + + * src/egl/glitz_egl_context.c (_glitz_egl_make_current): 0 -> EGL_READ. + (Dave Airlie) + + * src/egl/glitz_egl_config.c (_glitz_egl_format_compare): Track changes + to glitz_int_drawable_format_t. (Dave Airlie) + 2005-12-21 David Reveman <davidr@novell.com> * src/glitz.h (GLITZ_REVISION): Bump version to 0.5.2. diff --git a/src/egl/glitz_egl_config.c b/src/egl/glitz_egl_config.c index 16d924f..39c6e7c 100644 --- a/src/egl/glitz_egl_config.c +++ b/src/egl/glitz_egl_config.c @@ -45,7 +45,7 @@ _glitz_egl_format_compare (const void *elem1, 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) diff --git a/src/egl/glitz_egl_context.c b/src/egl/glitz_egl_context.c index 41486c5..8110dc2 100644 --- a/src/egl/glitz_egl_context.c +++ b/src/egl/glitz_egl_context.c @@ -122,7 +122,7 @@ _glitz_egl_make_current (void *abstract_drawable, 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) { |