aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/pugl_x11_gl.c
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/pugl_x11_gl.c
parent4c4b388fab18b12c0cc915238f844eb78b9ff21d (diff)
downloadpugl-e7236e4a5ff6e7d28792d6ab8bee43c2024a9a53.tar.gz
pugl-e7236e4a5ff6e7d28792d6ab8bee43c2024a9a53.tar.bz2
pugl-e7236e4a5ff6e7d28792d6ab8bee43c2024a9a53.zip
Fix unused parameter warnings and prevent rot
Diffstat (limited to 'pugl/pugl_x11_gl.c')
-rw-r--r--pugl/pugl_x11_gl.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/pugl/pugl_x11_gl.c b/pugl/pugl_x11_gl.c
index 0102f4c..06b4b2e 100644
--- a/pugl/pugl_x11_gl.c
+++ b/pugl/pugl_x11_gl.c
@@ -174,18 +174,16 @@ puglX11GlLeave(PuglView* view, bool flush)
}
static int
-puglX11GlResize(PuglView* view, int width, int height)
+puglX11GlResize(PuglView* PUGL_UNUSED(view),
+ int PUGL_UNUSED(width),
+ int PUGL_UNUSED(height))
{
- (void)view;
- (void)width;
- (void)height;
return 0;
}
static void*
-puglX11GlGetHandle(PuglView* view)
+puglX11GlGetHandle(PuglView* PUGL_UNUSED(view))
{
- (void)view;
return NULL;
}