From: Brian Paul Date: Fri, 16 Sep 2005 18:18:47 +0000 (+0000) Subject: remove unused ctx var X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=db64b60225c77fc3da0ff5a96bd239e1a11a9758;p=mesa.git remove unused ctx var --- diff --git a/src/mesa/shader/arbprogparse.c b/src/mesa/shader/arbprogparse.c index 23cb46637c1..e8992c6d8b1 100644 --- a/src/mesa/shader/arbprogparse.c +++ b/src/mesa/shader/arbprogparse.c @@ -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);