From 94987beb2c9e87d9c55db5cb7c089dc77f78df94 Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Sun, 24 Oct 2004 02:05:40 +0000 Subject: 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. --- src/mesa/shader/arbprogparse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa/shader') diff --git a/src/mesa/shader/arbprogparse.c b/src/mesa/shader/arbprogparse.c index 0215f67c44..a1be2b535e 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); -- cgit v1.2.3