From: Vinson Lee Date: Fri, 23 Aug 2019 05:26:26 +0000 (-0700) Subject: glx: Fix up glXQueryGLXPbufferSGIX on macOS. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b05166e3d2c17e62d8761c46c4643e61890d49eb;p=mesa.git 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 with Khronos") Signed-off-by: Vinson Lee Reviewed-by: Eric Engestrom Reviewed-by: Adam Jackson --- 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