i965: Stop flagging _NEW_POLYGON on drawbuffers change.
authorEric Anholt <eric@anholt.net>
Thu, 20 Jun 2013 15:39:56 +0000 (08:39 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 26 Jun 2013 02:19:21 +0000 (19:19 -0700)
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>
src/mesa/drivers/dri/i965/brw_vtbl.c

index 96a6cd5e7e028e47f64e964f01216e979bead16e..ba5fadf4f460a77facbbd313815844e7bc4f1af1 100644 (file)
@@ -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;
 }
 
 /**