aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/detail
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-03-02 10:03:24 +0100
committerDavid Robillard <d@drobilla.net>2020-03-02 10:03:24 +0100
commit141cbc4bf762d7fc36081799f69c2e8f8a018be7 (patch)
treea1cba8b8546813c71c2b86ad0cd975c532e8ecc0 /pugl/detail
parente0bb862c5ea222a14b76866c910f8758297195dc (diff)
downloadpugl-141cbc4bf762d7fc36081799f69c2e8f8a018be7.tar.gz
pugl-141cbc4bf762d7fc36081799f69c2e8f8a018be7.tar.bz2
pugl-141cbc4bf762d7fc36081799f69c2e8f8a018be7.zip
X11: Fix return type of puglX11GlHintValue()
Diffstat (limited to 'pugl/detail')
-rw-r--r--pugl/detail/x11_gl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pugl/detail/x11_gl.c b/pugl/detail/x11_gl.c
index 415f664..7bd4860 100644
--- a/pugl/detail/x11_gl.c
+++ b/pugl/detail/x11_gl.c
@@ -38,7 +38,7 @@ typedef struct {
int double_buffered;
} PuglX11GlSurface;
-static PuglStatus
+static int
puglX11GlHintValue(const int value)
{
return value == PUGL_DONT_CARE ? (int)GLX_DONT_CARE : value;