summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Reveman <davidr@novell.com>2006-01-02 13:23:45 +0000
committerDavid Reveman <davidr@novell.com>2006-01-02 13:23:45 +0000
commitc11a45194ef54f0237ee58cc7ee391466a1f229b (patch)
tree5ef80d8b685b35ab21d747e31e3534a07305ec64
parent9ee05ac602c3d93058644f94e9ff93d80112e221 (diff)
EGL backend fix
-rw-r--r--ChangeLog8
-rw-r--r--src/egl/glitz_egl_config.c2
-rw-r--r--src/egl/glitz_egl_context.c2
3 files changed, 10 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index c6e287d..3b57dae 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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)
{