X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fglx%2Fglx_error.h;h=eaf6b814c5e46b4a198d1979c2ed3c1c2aea84ce;hb=4bb14aca293b12cbe4f2352fb11c20091876c1cf;hp=6ba2f854dbfe79bb2b84837c39c1104d810863f6;hpb=6f76efa9224f6a1cbe35f419172549abafdd751e;p=mesa.git diff --git a/src/glx/glx_error.h b/src/glx/glx_error.h index 6ba2f854dbf..eaf6b814c5e 100644 --- a/src/glx/glx_error.h +++ b/src/glx/glx_error.h @@ -27,7 +27,13 @@ prior written authorization. */ #include +#include #include +#include -void __glXSendError(Display * dpy, int errorCode, unsigned long resourceID, - unsigned long minorCode, bool coreX11error); +void __glXSendError(Display * dpy, int_fast8_t errorCode, + uint_fast32_t resourceID, uint_fast16_t minorCode, + bool coreX11error); + +_X_HIDDEN void __glXSendErrorForXcb(Display * dpy, + const xcb_generic_error_t *err);