gallium: fix not generating new vp varient when polygon mode changes
authorRoland Scheidegger <sroland@vmware.com>
Sat, 19 Dec 2009 16:12:14 +0000 (17:12 +0100)
committerRoland Scheidegger <sroland@vmware.com>
Sat, 19 Dec 2009 16:12:14 +0000 (17:12 +0100)
src/mesa/state_tracker/st_atom_shader.c

index 629bf8953ebf5d32e125ac76e9d64f45b44eab27..c2cb72e56ad60252914a5001376dccb6d1b23cf0 100644 (file)
@@ -227,7 +227,7 @@ update_vp( struct st_context *st )
 const struct st_tracked_state st_update_vp = {
    "st_update_vp",                                     /* name */
    {                                                   /* dirty */
-      0,                                               /* mesa */
+      _NEW_POLYGON,                                    /* mesa */
       ST_NEW_VERTEX_PROGRAM                             /* st */
    },
    update_vp                                   /* update */