From: Brian Paul Date: Wed, 25 Aug 2004 15:20:56 +0000 (+0000) Subject: fix MGL namespace warning (patch 1014800) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d99e5505f39459cc2980a9b2df0ceb0723379d2a;p=mesa.git fix MGL namespace warning (patch 1014800) --- 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