summaryrefslogtreecommitdiffstats
path: root/src/mesa/glapi
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/glapi')
-rw-r--r--src/mesa/glapi/gl_apitemp.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/glapi/gl_apitemp.py b/src/mesa/glapi/gl_apitemp.py
index b8b32ac3624..8070c4fccf2 100644
--- a/src/mesa/glapi/gl_apitemp.py
+++ b/src/mesa/glapi/gl_apitemp.py
@@ -129,7 +129,11 @@ 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