mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-26 18:40:33 +01:00
i965: Upload state on primitive switch, don't just prepare it.
This was a regression in 59b2c2adbb that broke
blender, among other apps.
This commit is contained in:
parent
2fc9d671e0
commit
c30eb2c104
1 changed files with 1 additions and 0 deletions
|
|
@ -105,6 +105,7 @@ static GLuint brw_set_prim(struct brw_context *brw, GLenum prim)
|
|||
}
|
||||
|
||||
brw_validate_state(brw);
|
||||
brw_upload_state(brw);
|
||||
}
|
||||
|
||||
return hw_prim[prim];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue