summaryrefslogtreecommitdiffstats
path: root/src/glx
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2019-08-22 22:26:26 -0700
committerAdam Jackson <[email protected]>2019-08-23 11:05:23 -0400
commitb05166e3d2c17e62d8761c46c4643e61890d49eb (patch)
tree7f1cbf2d29ed29ac5375cbaaca0cf13046059b3f /src/glx
parent6f137ed90154d3bc07a39e26b1915450cd9343e5 (diff)
glx: Fix up glXQueryGLXPbufferSGIX on macOS.
Fix this build error on macOS. ../src/glx/apple/glx_empty.c:158:4: error: void function 'glXQueryGLXPbufferSGIX' should not return a value [-Wreturn-type] return 0; ^ ~ Fixes: 3dd299c3d5b8 ("glx: Sync <GL/glxext.h> with Khronos") Signed-off-by: Vinson Lee <[email protected]> Reviewed-by: Eric Engestrom <[email protected]> Reviewed-by: Adam Jackson <[email protected]>
Diffstat (limited to 'src/glx')
-rw-r--r--src/glx/apple/glx_empty.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/glx/apple/glx_empty.c b/src/glx/apple/glx_empty.c
index 1b3abca6daa..d3dbda27199 100644
--- a/src/glx/apple/glx_empty.c
+++ b/src/glx/apple/glx_empty.c
@@ -155,7 +155,6 @@ glXQueryGLXPbufferSGIX(Display * dpy, GLXDrawable drawable,
(void) drawable;
(void) attribute;
(void) value;
- return 0;
}
_X_EXPORT GLXDrawable