intel: Flag NEW_BUFFERS when changing draw buffers.
authorEric Anholt <eric@anholt.net>
Tue, 8 Jun 2010 00:42:03 +0000 (17:42 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 8 Jun 2010 20:42:02 +0000 (13:42 -0700)
commitbcf63dbbd8fd31b724294b34a62a0e6c565dce87
treec0d3c67874812857d58cca71d76e2ab3a7526b73
parentdf3c1a563f3d76b07ab82c7b230b0030452f36ff
intel: Flag NEW_BUFFERS when changing draw buffers.

There were entries to this function (most imporantly, prepare_render
-> update_renderbuffers) that wouldn't have had NEW_BUFFERS set, but
brw_wm_surface_state (the i965 state tracking the drawing regions)
expected this to change.
src/mesa/drivers/dri/intel/intel_buffers.c