diff mbox

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

Message ID 1297447555-29654-2-git-send-email-alexandros.frantzis@linaro.org
State Accepted
Commit 3245d6e120a1b8502cf36c3869db40341fb20b2e
Headers show

Commit Message

alexandros.frantzis@linaro.org Feb. 11, 2011, 6:05 p.m. UTC
From: Benjamin Franzke <benjaminfranzke@googlemail.com>

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

Patch

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