From: Ian Romanick Date: Tue, 1 Apr 2014 19:56:31 +0000 (-0700) Subject: glapi: Fix build break in 'make check' on non-shared-glapi builds X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8e3a7c620440fab014e41b18badf73ca9dfdba45;p=mesa.git glapi: Fix build break in 'make check' on non-shared-glapi builds Commit fb78fa58 made the GL_ARB_debug_output functions aliases of the GL_KHR_debug output functions. As a result, the function names in struct _glapi_table also changed. The table in check_table.cpp used the ARB names. Signed-off-by: Ian Romanick Reviewed-by: Timothy Arceri Tested-by: Brian Paul Tested-by: Lu Hua Cc: Vinson Lee --- diff --git a/src/mapi/glapi/tests/check_table.cpp b/src/mapi/glapi/tests/check_table.cpp index 375645b9406..89d9073a4ec 100644 --- a/src/mapi/glapi/tests/check_table.cpp +++ b/src/mapi/glapi/tests/check_table.cpp @@ -1227,10 +1227,10 @@ const struct name_offset known_dispatch[] = { { "glGetShaderPrecisionFormat", _O(GetShaderPrecisionFormat) }, { "glReleaseShaderCompiler", _O(ReleaseShaderCompiler) }, { "glShaderBinary", _O(ShaderBinary) }, - { "glDebugMessageCallbackARB", _O(DebugMessageCallbackARB) }, - { "glDebugMessageControlARB", _O(DebugMessageControlARB) }, - { "glDebugMessageInsertARB", _O(DebugMessageInsertARB) }, - { "glGetDebugMessageLogARB", _O(GetDebugMessageLogARB) }, + { "glDebugMessageCallback", _O(DebugMessageCallback) }, + { "glDebugMessageControl", _O(DebugMessageControl) }, + { "glDebugMessageInsert", _O(DebugMessageInsert) }, + { "glGetDebugMessageLog", _O(GetDebugMessageLog) }, { "glGetGraphicsResetStatusARB", _O(GetGraphicsResetStatusARB) }, { "glGetnColorTableARB", _O(GetnColorTableARB) }, { "glGetnCompressedTexImageARB", _O(GetnCompressedTexImageARB) },