summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2005-09-16 18:18:47 +0000
committerBrian Paul <[email protected]>2005-09-16 18:18:47 +0000
commitdb64b60225c77fc3da0ff5a96bd239e1a11a9758 (patch)
treec926efe4fc47ae4f131b0a7e1f5f4e0fdebd1120 /src/mesa/shader
parentaa2069586d434dd0487b0daa2b583efe801a0d51 (diff)
remove unused ctx var
Diffstat (limited to 'src/mesa/shader')
-rw-r--r--src/mesa/shader/arbprogparse.c1
1 files changed, 0 insertions, 1 deletions
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);