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: 5679ef99b8 ("glapi: remove EXT and ARB suffixes from Draw functions")

Reviewed-by: Eric Engestrom <eric@igalia.com>
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23793>
This commit is contained in:
Yonggang Luo 2023-06-02 02:55:55 +08:00 committed by Marge Bot
parent 29b4c1a09f
commit 7af2c45947

View file

@ -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) },