[cairo] [PATCH] egl: Fix eglMakeCurrent for egl surfaces

Benjamin Franzke benjaminfranzke at googlemail.com
Tue Feb 8 10:39:46 PST 2011


---
 src/cairo-egl-context.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/cairo-egl-context.c b/src/cairo-egl-context.c
index b4c18fc..9f14633 100644
--- a/src/cairo-egl-context.c
+++ b/src/cairo-egl-context.c
@@ -73,7 +73,7 @@ _egl_acquire (void *abstract_ctx)
     }
 
     eglMakeCurrent (ctx->display,
-		    ctx->dummy_surface, ctx->dummy_surface, ctx->context);
+		    current_surface, current_surface, ctx->context);
 }
 
 static void
-- 
1.7.3.4



More information about the cairo mailing list