mesa: use a more logical flag in _mesa_set_vp_override()
authorBrian Paul <brianp@vmware.com>
Fri, 7 Aug 2009 14:53:53 +0000 (08:53 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 7 Aug 2009 15:50:38 +0000 (09:50 -0600)
src/mesa/main/state.c

index 9a70031b7ad915cad39980962c67964a26d451fe..140a998df2ec82a5cc267f8c6a4955d6db33c9ce 100644 (file)
@@ -713,6 +713,6 @@ _mesa_set_vp_override(GLcontext *ctx, GLboolean flag)
       /* Set one of the bits which will trigger fragment program
        * regeneration:
        */
-      ctx->NewState |= _NEW_ARRAY; 
+      ctx->NewState |= _NEW_PROGRAM;
    }
 }