Module: Mesa Branch: main Commit: 7af2c45947d47f72600bdf2b393faffa290f9cc7 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7af2c45947d47f72600bdf2b393faffa290f9cc7
Author: Yonggang Luo <[email protected]> Date: Fri Jun 2 02:55:55 2023 +0800 mapi: Fixes check_table.cpp for DrawArraysInstancedARB and DrawElementsInstancedARB The compile error when compiled with "-Dglx=xlib -D shared-glapi=disabled": check_table.cpp:1133:37: error: ‘struct _glapi_table’ has no member named ‘DrawArraysInstancedARB’; did you mean ‘DrawArraysInstanced’? 1133 | { "glDrawArraysInstancedARB", _O(DrawArraysInstancedARB) }, Fixes: 5679ef99b82 ("glapi: remove EXT and ARB suffixes from Draw functions") Reviewed-by: Eric Engestrom <[email protected]> Signed-off-by: Yonggang Luo <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23793> --- src/mapi/glapi/tests/check_table.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mapi/glapi/tests/check_table.cpp b/src/mapi/glapi/tests/check_table.cpp index 596f43fc4b2..5b9d1e7c4a9 100644 --- a/src/mapi/glapi/tests/check_table.cpp +++ b/src/mapi/glapi/tests/check_table.cpp @@ -1130,8 +1130,8 @@ const struct name_offset known_dispatch[] = { { "glGetAttribLocation", _O(GetAttribLocation) }, { "glDrawBuffers", _O(DrawBuffers) }, { "glClampColor", _O(ClampColor) }, - { "glDrawArraysInstancedARB", _O(DrawArraysInstancedARB) }, - { "glDrawElementsInstancedARB", _O(DrawElementsInstancedARB) }, + { "glDrawArraysInstanced", _O(DrawArraysInstanced) }, + { "glDrawElementsInstanced", _O(DrawElementsInstanced) }, { "glRenderbufferStorageMultisample", _O(RenderbufferStorageMultisample) }, { "glFramebufferTexture", _O(FramebufferTexture) }, { "glProgramParameteri", _O(ProgramParameteri) },
