summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVinson Lee <vlee@freedesktop.org>2019-08-22 22:26:26 -0700
committerAdam Jackson <ajax@redhat.com>2019-08-23 11:05:23 -0400
commitb05166e3d2c17e62d8761c46c4643e61890d49eb (patch)
tree7f1cbf2d29ed29ac5375cbaaca0cf13046059b3f
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 <vlee@freedesktop.org> Reviewed-by: Eric Engestrom <eric@engestrom.ch> Reviewed-by: Adam Jackson <ajax@redhat.com>
-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 1b3abca6daa1..d3dbda27199c 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