mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-02 18:48:28 +02:00
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 <anuj.phogat@gmail.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
parent
438f85717d
commit
3faccc42ad
1 changed files with 0 additions and 3 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue