summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mapi/mapi_glapi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mapi/mapi_glapi.c b/src/mapi/mapi_glapi.c
index 70605f3dfa1..9f02edb7cd3 100644
--- a/src/mapi/mapi_glapi.c
+++ b/src/mapi/mapi_glapi.c
@@ -175,7 +175,7 @@ _glapi_get_stub(const char *name, int generate)
const struct mapi_stub *stub;
#ifdef USE_MGL_NAMESPACE
- if (name)
+ if (name && name[0] == 'm')
name++;
#endif