diff options
author | Eric Anholt <[email protected]> | 2008-11-12 13:37:16 -0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2008-11-12 13:37:16 -0800 |
commit | c30eb2c104c19c758c0b2a2461ad7f38cfa747d0 (patch) | |
tree | a39ba33b5c1477cbad0c9fd81bc42f7deeee7e07 /src | |
parent | 2fc9d671e0be77676818da51cd3b35b52af79421 (diff) |
i965: Upload state on primitive switch, don't just prepare it.
This was a regression in 59b2c2adbbece27ccf54e58b598ea29cb3a5aa85 that broke
blender, among other apps.
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_draw.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_draw.c b/src/mesa/drivers/dri/i965/brw_draw.c index d87b8f8a848..f893dd67423 100644 --- a/src/mesa/drivers/dri/i965/brw_draw.c +++ b/src/mesa/drivers/dri/i965/brw_draw.c @@ -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]; |