On Tuesday, 2019-08-27 10:57:36 +0000, Jose Fonseca wrote:
> I don't know how Meson didn't hit this issue, when it too already uses
> -Werror=incompatible-pointer-types

Not sure either...

Fixes: 3dd299c3d5b88114894e ("glx: Sync <GL/glxext.h> with Khronos")
Reviewed-by: Eric Engestrom <e...@engestrom.ch>

> ---
>  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.17.1
> 
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to