aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_atom_constbuf.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-04-22 07:58:25 -0600
committerBrian Paul <[email protected]>2009-04-22 07:58:25 -0600
commit7843243deedd66b0c94c8874e732ed7e8c6617ff (patch)
treede2fe3dc93657005dc07ae0d5f9b41d6b5b682f9 /src/mesa/state_tracker/st_atom_constbuf.c
parentf057f6543da469f231d551cb5728d98df8add4fa (diff)
st: also check _NEW_PROGRAM flag for vertex shader constant buffers
This is a follow-on to commit c1a3b852807fb160f0cd246c1364b7336b4b947e. Note that (at this time) wherever _NEW_PROGRAM_CONSTANTS is set we're still setting _NEW_PROGRAM so this won't really make any difference (for now).
Diffstat (limited to 'src/mesa/state_tracker/st_atom_constbuf.c')
-rw-r--r--src/mesa/state_tracker/st_atom_constbuf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_atom_constbuf.c b/src/mesa/state_tracker/st_atom_constbuf.c
index 77ecd0719e6..3ba7b269285 100644
--- a/src/mesa/state_tracker/st_atom_constbuf.c
+++ b/src/mesa/state_tracker/st_atom_constbuf.c
@@ -105,7 +105,7 @@ static void update_vs_constants(struct st_context *st )
const struct st_tracked_state st_update_vs_constants = {
"st_update_vs_constants", /* name */
{ /* dirty */
- _NEW_PROGRAM_CONSTANTS,
+ (_NEW_PROGRAM | _NEW_PROGRAM_CONSTANTS), /* mesa */
ST_NEW_VERTEX_PROGRAM, /* st */
},
update_vs_constants /* update */