From d99e5505f39459cc2980a9b2df0ceb0723379d2a Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Wed, 25 Aug 2004 15:20:56 +0000 Subject: [PATCH] fix MGL namespace warning (patch 1014800) --- src/mesa/glapi/gl_apitemp.py | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.30.2