remove unused ctx var
authorBrian Paul <brian.paul@tungstengraphics.com>
Fri, 16 Sep 2005 18:18:47 +0000 (18:18 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Fri, 16 Sep 2005 18:18:47 +0000 (18:18 +0000)
src/mesa/shader/arbprogparse.c

index 23cb466..e8992c6 100644 (file)
@@ -3880,7 +3880,6 @@ static int set_reg8 (GLcontext *ctx, grammar id, const byte *name, byte value)
 
 static int extension_is_supported (const GLubyte *ext)
 {
-   GET_CURRENT_CONTEXT(ctx);
    const GLubyte *extensions = CALL_GetString(GET_DISPATCH(), (GL_EXTENSIONS));
    const GLubyte *end = extensions + _mesa_strlen ((const char *) extensions);
    const GLint ext_len = (GLint)_mesa_strlen ((const char *) ext);