diff options
author | Eric Anholt <[email protected]> | 2013-06-20 09:50:58 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2013-06-25 19:19:22 -0700 |
commit | c39111509d4ff3fd48ce607b24e3c97a0807f712 (patch) | |
tree | 011d3c7ba29d45e2026b5330c26cdcc9f2ef7c1e /src/mesa/drivers/dri | |
parent | 9d523e33729d2b23e983eef15e125e0236be5e43 (diff) |
i965: Stop updating FBO state on drawbuffers change.
The computed fields are updated appropriately as part of the normal draw
call path due to _NEW_BUFFERS being set.
Reviewed-by: Anuj Phogat <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_vtbl.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vtbl.c b/src/mesa/drivers/dri/i965/brw_vtbl.c index 4bf1ba93cd1..16d1bd1a833 100644 --- a/src/mesa/drivers/dri/i965/brw_vtbl.c +++ b/src/mesa/drivers/dri/i965/brw_vtbl.c @@ -112,14 +112,6 @@ brw_update_draw_buffer(struct intel_context *intel) return; } - /* Do this here, not core Mesa, since this function is called from - * many places within the driver. - */ - if (ctx->NewState & _NEW_BUFFERS) { - /* this updates the DrawBuffer->_NumColorDrawBuffers fields, etc */ - _mesa_update_framebuffer(ctx); - } - if (fb->_Status != GL_FRAMEBUFFER_COMPLETE_EXT) { /* this may occur when we're called by glBindFrameBuffer() during * the process of someone setting up renderbuffers, etc. |