intel: Call intel_draw_buffer() again after _mesa_make_current()
authorKristian Høgsberg <krh@bitplanet.net>
Mon, 17 May 2010 20:49:55 +0000 (16:49 -0400)
committerKristian Høgsberg <krh@bitplanet.net>
Mon, 17 May 2010 20:50:44 +0000 (16:50 -0400)
commit2386d41648d78925b139aea9562325c5b22007eb
tree6eca6bdec48fa55e8c48cd875c3fa5620d7a983c
parentbb81f65b18b98cb539edf88e171e58fabd732ca3
intel: Call intel_draw_buffer() again after _mesa_make_current()

The initial call to intel_draw_buffers() happens when
intel->ctx.DrawBuffer is still NULL.  Call it again after
calling _mesa_make_current().

https://bugs.freedesktop.org/show_bug.cgi?id=28112
src/mesa/drivers/dri/intel/intel_context.c