From 70295563989cc3a9e82fa21253bfed576e130d9b Mon Sep 17 00:00:00 2001 From: Jose Fonseca Date: Tue, 27 Aug 2019 11:48:30 +0100 Subject: [PATCH] glx: Fix incompatible function pointer types. I don't know how Meson didn't hit this issue, when it too already uses -Werror=incompatible-pointer-types Fixes: 3dd299c3d5b88114894e ("glx: Sync with Khronos") Reviewed-by: Eric Engestrom Reviewed-by: Adam Jackson Reviewed-by: Brian Paul Reviewed-by: Roland Scheidegger --- src/mesa/drivers/x11/glxapi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/drivers/x11/glxapi.h b/src/mesa/drivers/x11/glxapi.h index 90323a24731..6a1ce66a891 100644 --- a/src/mesa/drivers/x11/glxapi.h +++ b/src/mesa/drivers/x11/glxapi.h @@ -143,7 +143,7 @@ struct _glxapi_table { /*** GLX_SGIX_pbuffer ***/ GLXPbufferSGIX (*CreateGLXPbufferSGIX)(Display *, GLXFBConfigSGIX, unsigned int, unsigned int, int *); void (*DestroyGLXPbufferSGIX)(Display *, GLXPbufferSGIX); - int (*QueryGLXPbufferSGIX)(Display *, GLXPbufferSGIX, int, unsigned int *); + void (*QueryGLXPbufferSGIX)(Display *, GLXPbufferSGIX, int, unsigned int *); void (*SelectEventSGIX)(Display *, GLXDrawable, unsigned long); void (*GetSelectedEventSGIX)(Display *, GLXDrawable, unsigned long *); -- 2.30.2