summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/GL/gl_mangle.h1
-rw-r--r--src/mesa/glapi/gl_apitemp.py4
-rw-r--r--src/mesa/glapi/glapitemp.h4
3 files changed, 1 insertions, 8 deletions
diff --git a/include/GL/gl_mangle.h b/include/GL/gl_mangle.h
index 8d3306b9fb1..873be540ab1 100644
--- a/include/GL/gl_mangle.h
+++ b/include/GL/gl_mangle.h
@@ -30,6 +30,7 @@
/* Internal symbols which may collide with other OpenGL implementations. */
#define __glCoreCreateContext __mglCoreCreateContext
#define __glCoreNopDispatch __mglCoreNopDispatch
+#define gl__unused413 MANGLE(__unused413)
/*REGENERATE_TO_END-----------ALL LINES BELOW HERE GET REPLACED ON REGENERATION */
diff --git a/src/mesa/glapi/gl_apitemp.py b/src/mesa/glapi/gl_apitemp.py
index 8070c4fccf2..b8b32ac3624 100644
--- a/src/mesa/glapi/gl_apitemp.py
+++ b/src/mesa/glapi/gl_apitemp.py
@@ -129,11 +129,7 @@ class PrintGlOffsets(gl_XML.FilterGLAPISpecBase):
#error RETURN_DISPATCH must be defined
#endif
-#ifdef USE_MGL_NAMESPACE
-GLAPI void GLAPIENTRY mgl__unused413(void); /* silence warning */
-#else
GLAPI void GLAPIENTRY gl__unused413(void); /* silence warning */
-#endif
"""
return
diff --git a/src/mesa/glapi/glapitemp.h b/src/mesa/glapi/glapitemp.h
index 9108826840e..579494ce817 100644
--- a/src/mesa/glapi/glapitemp.h
+++ b/src/mesa/glapi/glapitemp.h
@@ -69,11 +69,7 @@
#error RETURN_DISPATCH must be defined
#endif
-#ifdef USE_MGL_NAMESPACE
-GLAPI void GLAPIENTRY mgl__unused413(void); /* silence warning */
-#else
GLAPI void GLAPIENTRY gl__unused413(void); /* silence warning */
-#endif
KEYWORD1 void KEYWORD2 NAME(NewList)(GLuint list, GLenum mode)
{