aboutsummaryrefslogtreecommitdiff
path: root/pugl/cairo_gl.h
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2019-02-02 09:50:37 +0100
committerHanspeter Portner <dev@open-music-kontrollers.ch>2019-02-02 09:50:37 +0100
commit6887cac9e577dc20cf31b5e51a77d19755874411 (patch)
tree2358df82a1abb6af85b120c5fc9e592ec3c07ae6 /pugl/cairo_gl.h
parent77095d63e4b4bc5e6b4c1f5c36550b1c2eff7001 (diff)
downloadsynthpod-6887cac9e577dc20cf31b5e51a77d19755874411.tar.xz
Squashed 'pugl/' changes from 035884a..2986f31
2986f31 omk: fix compiler warnings. 371c2ec omk: fix memory leak. git-subtree-dir: pugl git-subtree-split: 2986f3130eb5f9d0fd36e098a9b401bc5a44f4ce
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 5c0f1f91..fb4cb2a4 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);