i915tex: Fix triple buffering after recent Mesa core changes.
authorMichel Dänzer <michel@tungstengraphics.com>
Mon, 19 Mar 2007 16:23:44 +0000 (17:23 +0100)
committerMichel Dänzer <michel@tungstengraphics.com>
Mon, 19 Mar 2007 16:23:44 +0000 (17:23 +0100)
commit9b42100c04f14b4f2c1e5fe9748bb0519ed6c516
tree9751fda8834652f893034fc30cf5e8eeaa96f3bf
parent77544d7b7d7c6fd03c0df81dca07f1bb3a67c119
i915tex: Fix triple buffering after recent Mesa core changes.

Remove superfluous _mesa_resize_framebuffer call which is now harmful because
it causes the third renderbuffer to have width/height 0, so Mesa refuses to
render to it.

In the long term, it would be nice to remove the hack in
intel_alloc_window_storage in favour of a proper Mesa interface for flipping
between more than two colour buffers.
src/mesa/drivers/dri/i915tex/intel_buffers.c