aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/cairo_gl.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-07-27 13:36:51 +0200
committerDavid Robillard <d@drobilla.net>2019-07-28 15:01:26 +0200
commite7236e4a5ff6e7d28792d6ab8bee43c2024a9a53 (patch)
tree4f8808389f468107fe41abe0da4b6698650cb413 /pugl/cairo_gl.h
parent4c4b388fab18b12c0cc915238f844eb78b9ff21d (diff)
downloadpugl-e7236e4a5ff6e7d28792d6ab8bee43c2024a9a53.tar.gz
pugl-e7236e4a5ff6e7d28792d6ab8bee43c2024a9a53.tar.bz2
pugl-e7236e4a5ff6e7d28792d6ab8bee43c2024a9a53.zip
Fix unused parameter warnings and prevent rot
Diffstat (limited to 'pugl/cairo_gl.h')
-rw-r--r--pugl/cairo_gl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/pugl/cairo_gl.h b/pugl/cairo_gl.h
index 7024ae6..467a435 100644
--- a/pugl/cairo_gl.h
+++ b/pugl/cairo_gl.h
@@ -55,6 +55,9 @@ pugl_cairo_gl_free(PuglCairoGL* ctx)
static void
pugl_cairo_gl_configure(PuglCairoGL* ctx, int width, int height)
{
+ (void)ctx;
+ (void)width;
+ (void)height;
glDisable(GL_DEPTH_TEST);
glEnable(GL_TEXTURE_RECTANGLE_ARB);