st: also check _NEW_PROGRAM flag for vertex shader constant buffers

This is a follow-on to commit c1a3b85280.
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).
This commit is contained in:
Brian Paul
2009-04-22 07:58:25 -06:00
parent f057f6543d
commit 7843243dee
+1 -1
View File
@@ -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 */