intel: Fix workaround for _mesa_update_framebuffer
authorChad Versace <chad@chad-versace.us>
Thu, 23 Jun 2011 08:20:19 +0000 (01:20 -0700)
committerChad Versace <chad@chad-versace.us>
Fri, 24 Jun 2011 21:47:21 +0000 (14:47 -0700)
commit6062692cc6cd2a88d854b304d9a85bcf4bab0d11
tree988428ba5defe712ef06f8bbdd2d67d3de6fee3e
parent97f263c229784a55014b32e8b3e420e58f8bc851
intel: Fix workaround for _mesa_update_framebuffer

In intel_draw_buffer, there exists a workaround to prevent
_mesa_update_framebuffer from creating a swrast depth wrapper when
using separate stencil. This commit fixes the workaround, which was
incomplete for s8z24 texture renderbuffers.

Fixes fbo-blit-d24s8 on gen5 with separate stencil manually enabled.

Signed-off-by: Chad Versace <chad@chad-versace.us>
src/mesa/drivers/dri/intel/intel_buffers.c