summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2004-08-25 15:20:56 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2004-08-25 15:20:56 +0000
commitd99e5505f39459cc2980a9b2df0ceb0723379d2a (patch)
tree8ed46def93034574220ae74f8f91f629f23bead8 /src
parent9554411af6f8fab535b17e63e0397e6219a8a56d (diff)
fix MGL namespace warning (patch 1014800)
Diffstat (limited to 'src')
-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 b8b32ac362..8070c4fccf 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