mapi: Fixes check_table.cpp for DrawArraysInstancedARB and DrawElementsInstancedARB
authorYonggang Luo <luoyonggang@gmail.com>
Thu, 1 Jun 2023 18:55:55 +0000 (02:55 +0800)
committerMarge Bot <emma+marge@anholt.net>
Thu, 22 Jun 2023 11:08:11 +0000 (11:08 +0000)
commit7af2c45947d47f72600bdf2b393faffa290f9cc7
tree03b924b83ff02df7387955fc4fcdd2dc2d39691a
parent29b4c1a09f23985a8d367b2b95e887f4418ebba7
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 <eric@igalia.com>
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23793>
src/mapi/glapi/tests/check_table.cpp