From 438f85717d28f0cc10d3494c2d2d178295f96971 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 20 Jun 2013 08:39:56 -0700 Subject: 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 --- src/mesa/drivers/dri/i965/brw_vtbl.c | 5 ----- 1 file changed, 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; } /** -- cgit v1.2.3