fix GL_ARB_texture_rectangle breakage
authorBrian Paul <brian.paul@tungstengraphics.com>
Mon, 14 Apr 2008 19:43:24 +0000 (13:43 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Mon, 14 Apr 2008 19:43:24 +0000 (13:43 -0600)
src/mesa/shader/slang/slang_preprocess.c

index cf8cd5f87ae61b4440268ecc02a1a3d593c7e8ec..1645afcc18f9a2ea8c606188a249298589831faf 100644 (file)
@@ -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;