aboutsummaryrefslogtreecommitdiff
path: root/pugl/cairo_gl.h
diff options
context:
space:
mode:
Diffstat (limited to 'pugl/cairo_gl.h')
-rw-r--r--pugl/cairo_gl.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/pugl/cairo_gl.h b/pugl/cairo_gl.h
index 5c0f1f9..fb4cb2a 100644
--- a/pugl/cairo_gl.h
+++ b/pugl/cairo_gl.h
@@ -48,7 +48,8 @@ pugl_cairo_gl_free(PuglCairoGL* ctx)
}
static void
-pugl_cairo_gl_configure(PuglCairoGL* ctx, int width, int height)
+pugl_cairo_gl_configure(PuglCairoGL* ctx,
+ int width __attribute__((unused)), int height __attribute__((unused)))
{
glDisable(GL_DEPTH_TEST);
glEnable(GL_BLEND);