aboutsummaryrefslogtreecommitdiffstats
path: root/pugl
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-03-02 10:16:18 +0100
committerDavid Robillard <d@drobilla.net>2020-03-02 10:16:18 +0100
commitab7b305e6fb80c682363a6452a320385995f0e45 (patch)
tree38e40a0e1b908b01678878cd14b810723d5945f5 /pugl
parent141cbc4bf762d7fc36081799f69c2e8f8a018be7 (diff)
downloadpugl-ab7b305e6fb80c682363a6452a320385995f0e45.tar.gz
pugl-ab7b305e6fb80c682363a6452a320385995f0e45.tar.bz2
pugl-ab7b305e6fb80c682363a6452a320385995f0e45.zip
X11: Fix return type of puglX11GlGetAttrib()
Diffstat (limited to 'pugl')
-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 7bd4860..7bb1517 100644
--- a/pugl/detail/x11_gl.c
+++ b/pugl/detail/x11_gl.c
@@ -44,7 +44,7 @@ puglX11GlHintValue(const int value)
return value == PUGL_DONT_CARE ? (int)GLX_DONT_CARE : value;
}
-static PuglStatus
+static int
puglX11GlGetAttrib(Display* const display,
GLXFBConfig fb_config,
const int attrib)