gallium: replace 2 with PIPE_SHADER_TYPES
authorBrian Paul <brian.paul@tungstengraphics.com>
Wed, 26 Nov 2008 14:06:14 +0000 (07:06 -0700)
committerBrian Paul <brian.paul@tungstengraphics.com>
Wed, 26 Nov 2008 14:08:19 +0000 (07:08 -0700)
src/mesa/state_tracker/st_context.h

index 1d1aca3..5bcb87c 100644 (file)
@@ -102,7 +102,7 @@ struct st_context
    } state;
 
    struct {
-      struct st_tracked_state tracked_state[2];
+      struct st_tracked_state tracked_state[PIPE_SHADER_TYPES];
    } constants;
 
    /* XXX unused: */