Fix screen corruption on resize.
authorKeith Whitwell <keith@tungstengraphics.com>
Wed, 11 Jul 2007 16:01:30 +0000 (17:01 +0100)
committerKeith Whitwell <keith@tungstengraphics.com>
Wed, 11 Jul 2007 16:01:30 +0000 (17:01 +0100)
commit20cf13e03b1703937b4228aba8355b34d664aafb
treee1ae513db5f98028291bf3d43ab2b6eea8db4582
parentfb67b1609e211ed16828e10ffc1c36e54f655112
Fix screen corruption on resize.

Move buffer resize check to immediately after swapbuffers.

Update cliprects inside the locked region of swapbuffers.
src/mesa/drivers/dri/i915tex/intel_blit.c
src/mesa/drivers/dri/i915tex/intel_buffers.c
src/mesa/drivers/dri/i915tex/intel_context.c