fix MGL namespace warning (patch 1014800)
authorBrian Paul <brian.paul@tungstengraphics.com>
Wed, 25 Aug 2004 15:20:56 +0000 (15:20 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Wed, 25 Aug 2004 15:20:56 +0000 (15:20 +0000)
src/mesa/glapi/gl_apitemp.py

index b8b32ac362459c7dd9d25c8c626327c40e5926de..8070c4fccf2e4f88a7d66a3812060fe124b043b6 100644 (file)
@@ -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