[Mesa-dev] [PATCH 1/4] glx: Fix incompatible function pointer types.
Eric Engestrom
eric at engestrom.ch
Tue Aug 27 12:00:31 UTC 2019
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 <eric at 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
>
More information about the mesa-dev
mailing list