[cairo-commit] src/cairo-gl-device.c

Chris Wilson ickle at kemper.freedesktop.org
Wed Jul 11 03:52:10 PDT 2012


 src/cairo-gl-device.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 6aed048484801285ca7bd5afd825294f1ab7ce6d
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Wed Jul 11 11:51:36 2012 +0100

    gl: Add the compile fix that I forgot to add to the previous commit

diff --git a/src/cairo-gl-device.c b/src/cairo-gl-device.c
index ae4669a..6abee1c 100644
--- a/src/cairo-gl-device.c
+++ b/src/cairo-gl-device.c
@@ -101,6 +101,7 @@ static void
 _gl_finish (void *device)
 {
     cairo_gl_context_t *ctx = device;
+    int n;
 
     _gl_lock (device);
 
@@ -118,7 +119,6 @@ static void
 _gl_destroy (void *device)
 {
     cairo_gl_context_t *ctx = device;
-    int n;
 
     ctx->acquire (ctx);
 


More information about the cairo-commit mailing list