aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/arbprogparse.c
diff options
context:
space:
mode:
authorAdam Jackson <[email protected]>2004-10-24 02:05:40 +0000
committerAdam Jackson <[email protected]>2004-10-24 02:05:40 +0000
commit94987beb2c9e87d9c55db5cb7c089dc77f78df94 (patch)
tree714d8c344090c992e6a55658bc14ef4d585761ac /src/mesa/shader/arbprogparse.c
parent07553c58fd068a0e1b43e564fba1baffa6ea222d (diff)
Bug #1682: Mesa core code that gets linked into DRI drivers should never call
through the GL API directly, but should instead use the GL_CALL macro.
Diffstat (limited to 'src/mesa/shader/arbprogparse.c')
-rw-r--r--src/mesa/shader/arbprogparse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/shader/arbprogparse.c b/src/mesa/shader/arbprogparse.c
index 0215f67c442..a1be2b535ed 100644
--- a/src/mesa/shader/arbprogparse.c
+++ b/src/mesa/shader/arbprogparse.c
@@ -3744,7 +3744,7 @@ static int set_reg8 (GLcontext *ctx, grammar id, const byte *name, byte value)
static int extension_is_supported (const GLubyte *ext)
{
- const GLubyte *extensions = glGetString (GL_EXTENSIONS);
+ const GLubyte *extensions = GL_CALL(GetString)(GL_EXTENSIONS);
const GLubyte *end = extensions + _mesa_strlen ((const char *) extensions);
const GLint ext_len = _mesa_strlen ((const char *) ext);