From: Eric Anholt Date: Thu, 20 Jun 2013 15:39:56 +0000 (-0700) Subject: i965: Stop flagging _NEW_POLYGON on drawbuffers change. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=438f85717d28f0cc10d3494c2d2d178295f96971;p=mesa.git 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 Reviewed-by: Kenneth Graunke --- 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; } /**