summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-04-14 14:38:11 -0600
committerBrian Paul <[email protected]>2008-04-14 14:38:11 -0600
commit5807c0242c38742d96c7ada3503f3198070aa208 (patch)
tree3ecc422bb978bf14f0818e3139f9d408fe00ca60 /src/mesa/shader
parent78852986e6379a615a5742951f0fc6470e7c9d12 (diff)
fix GL_ARB_texture_rectangle breakage
Diffstat (limited to 'src/mesa/shader')
-rw-r--r--src/mesa/shader/slang/slang_preprocess.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/shader/slang/slang_preprocess.c b/src/mesa/shader/slang/slang_preprocess.c
index cf8cd5f87ae..1645afcc18f 100644
--- a/src/mesa/shader/slang/slang_preprocess.c
+++ b/src/mesa/shader/slang/slang_preprocess.c
@@ -483,7 +483,7 @@ pp_cond_stack_reevaluate (pp_cond_stack *self)
typedef struct
{
GLboolean MESA_shader_debug; /* GL_MESA_shader_debug enable */
- GLboolean GL_ARB_texture_rectangle; /* GL_ARB_texture_rectangle enable */
+ GLboolean ARB_texture_rectangle; /* GL_ARB_texture_rectangle enable */
} pp_ext;
/*
@@ -499,7 +499,7 @@ static GLvoid
pp_ext_init (pp_ext *self)
{
pp_ext_disable_all (self);
- self->GL_ARB_texture_rectangle = GL_TRUE;
+ self->ARB_texture_rectangle = GL_TRUE;
/* Other initialization code goes here. */
}
@@ -509,7 +509,7 @@ pp_ext_set (pp_ext *self, const char *name, GLboolean enable)
if (_mesa_strcmp (name, "MESA_shader_debug") == 0)
self->MESA_shader_debug = enable;
else if (_mesa_strcmp (name, "GL_ARB_texture_rectangle") == 0)
- self->GL_ARB_texture_rectangle = enable;
+ self->ARB_texture_rectangle = enable;
/* Next extension name tests go here. */
else
return GL_FALSE;