summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2013-06-20 08:39:56 -0700
committerEric Anholt <eric@anholt.net>2013-06-25 19:19:21 -0700
commit438f85717d28f0cc10d3494c2d2d178295f96971 (patch)
tree938d1a0d501d816d8b61cd9639bd30c3b16a1a1a
parentb04c718ebde69e763433269d9ab1a8b65f013605 (diff)
i965: Stop flagging _NEW_POLYGON on drawbuffers change.
Things like brw_sf.c that need to know about orientation are already recomputing on _NEW_BUFFERS. Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
-rw-r--r--src/mesa/drivers/dri/i965/brw_vtbl.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vtbl.c b/src/mesa/drivers/dri/i965/brw_vtbl.c
index 96a6cd5e7e0..ba5fadf4f46 100644
--- a/src/mesa/drivers/dri/i965/brw_vtbl.c
+++ b/src/mesa/drivers/dri/i965/brw_vtbl.c
@@ -144,11 +144,6 @@ brw_update_draw_buffer(struct intel_context *intel)
/* update viewport/scissor since it depends on window size */
intel->NewGLState |= _NEW_VIEWPORT | _NEW_SCISSOR;
-
- /* Update culling direction which changes depending on the
- * orientation of the buffer:
- */
- intel->NewGLState |= _NEW_POLYGON;
}
/**