intel: Fix use of freed buffer if glBitmap is called after a swap.
authorEric Anholt <eric@anholt.net>
Wed, 6 Jul 2011 18:31:00 +0000 (11:31 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 7 Jul 2011 21:43:44 +0000 (14:43 -0700)
commit066bee64e1611093c7e641ba77bbd43f70d08cec
tree1f4d541f5f085c3c6bc1e7dbb109f91a7ecdf416
parenta7a2704ab48edb4853060b4a292d9388eb909e61
intel: Fix use of freed buffer if glBitmap is called after a swap.

Regions looked up from the framebuffer are invalid after
intel_prepare_render().

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=30266
Tested-by: Thomas Jones <thomas.jones@utoronto.ca>
src/mesa/drivers/dri/intel/intel_pixel_bitmap.c