From 15c47481ba9bfaf88f125f12234da642588f1495 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 20 Jun 2013 09:28:53 -0700 Subject: i965: Remove _NEW_DEPTH state flagging on drawbuffers change. Of the places noting a _NEW_DEPTH dependency, all were already checking for _NEW_BUFFERS if appropriate. Reviewed-by: Anuj Phogat Reviewed-by: Kenneth Graunke --- src/mesa/drivers/dri/i965/brw_vtbl.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/mesa/drivers/dri/i965/brw_vtbl.c') diff --git a/src/mesa/drivers/dri/i965/brw_vtbl.c b/src/mesa/drivers/dri/i965/brw_vtbl.c index 2c71c087196..99d661f97b8 100644 --- a/src/mesa/drivers/dri/i965/brw_vtbl.c +++ b/src/mesa/drivers/dri/i965/brw_vtbl.c @@ -130,8 +130,6 @@ brw_update_draw_buffer(struct intel_context *intel) return; } - intel->NewGLState |= _NEW_DEPTH; - /* The driver uses this in places that need to look up * renderbuffers' buffer objects. */ -- cgit v1.2.3