From: Emil Velikov <emil.veli...@collabora.com> The correct offset is 322 as opposed to 332. Broken since the rework of GET_DISPATCH back in ~2012.
Cc: mesa-sta...@lists.freedesktop.org Cc: Ian Romanick <ian.d.roman...@intel.com> Fixes 99fee476a102 ("glx: Don't use glapitable.h at all") Signed-off-by: Emil Velikov <emil.veli...@collabora.com> --- I'm looking if we can purge most of this code in favour of the generated one ... in indirect.c (yes, that file has both direct and indirect bits) src/glx/single2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/glx/single2.c b/src/glx/single2.c index 2a1bf06bc0a..42ff8bccc45 100644 --- a/src/glx/single2.c +++ b/src/glx/single2.c @@ -917,7 +917,7 @@ glAreTexturesResidentEXT(GLsizei n, const GLuint * textures, if (gc->isDirect) { const _glapi_proc *const table = (_glapi_proc *) GET_DISPATCH(); PFNGLARETEXTURESRESIDENTEXTPROC p = - (PFNGLARETEXTURESRESIDENTEXTPROC) table[332]; + (PFNGLARETEXTURESRESIDENTEXTPROC) table[322]; return p(n, textures, residences); } -- 2.13.0 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev