diff options
author | Eric Anholt <[email protected]> | 2013-06-20 08:41:19 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2013-06-25 19:19:21 -0700 |
commit | 3faccc42adddf1312461ee74385c645aeb4ddb9a (patch) | |
tree | d1e77d1163f674934a18be095132c082dc5947d5 /src/mesa | |
parent | 438f85717d28f0cc10d3494c2d2d178295f96971 (diff) |
i965: Stop flagging viewport/scissor change on drawbuffers change.
The viewport (ctx->Viewport._WindowMap) doesn't change with drawable size
changes, and we update scissor (ctx->DrawBuffer->_Xmin and friends) on
_NEW_BUFFERS in things like brw_sf_state.c.
Reviewed-by: Anuj Phogat <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_vtbl.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vtbl.c b/src/mesa/drivers/dri/i965/brw_vtbl.c index ba5fadf4f46..a47b7a33965 100644 --- a/src/mesa/drivers/dri/i965/brw_vtbl.c +++ b/src/mesa/drivers/dri/i965/brw_vtbl.c @@ -141,9 +141,6 @@ brw_update_draw_buffer(struct intel_context *intel) * renderbuffers' buffer objects. */ intel->NewGLState |= _NEW_BUFFERS; - - /* update viewport/scissor since it depends on window size */ - intel->NewGLState |= _NEW_VIEWPORT | _NEW_SCISSOR; } /** |