[cairo] [PATCH 1/3] egl: Fix eglMakeCurrent for egl surfaces

alexandros.frantzis at linaro.org alexandros.frantzis at linaro.org
Fri Feb 11 10:05:53 PST 2011


From: Benjamin Franzke <benjaminfranzke at googlemail.com>

---
 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.2.3



More information about the cairo mailing list