summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-11-26 07:06:14 -0700
committerBrian Paul <[email protected]>2008-11-26 07:08:19 -0700
commit281055987a535d7fa226cfbd9e1acb7777b2b3dd (patch)
tree0f390b2a71d190f1504d3a03b2d7c1dab0f2bd47 /src/mesa/state_tracker
parenteee3d216049f21507a3ff6908f1d506c683efad0 (diff)
gallium: replace 2 with PIPE_SHADER_TYPES
Diffstat (limited to 'src/mesa/state_tracker')
-rw-r--r--src/mesa/state_tracker/st_context.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_context.h b/src/mesa/state_tracker/st_context.h
index 1d1aca3111b..5bcb87ce208 100644
--- a/src/mesa/state_tracker/st_context.h
+++ b/src/mesa/state_tracker/st_context.h
@@ -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: */