gallium: if we run out of memory in st_TexImage, flush and try again.
authorBrian Paul <brian.paul@tungstengraphics.com>
Thu, 18 Sep 2008 21:35:56 +0000 (15:35 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Thu, 18 Sep 2008 21:37:13 +0000 (15:37 -0600)
commit8d249ca620f6995cc5824d95c29bda7043bbdf8c
tree9dd3ec865bfdb3c8b29448b295199529835b9679
parent0b8e19ffc51c29543796d4f1e3243e97d8c32671
gallium: if we run out of memory in st_TexImage, flush and try again.

If the driver buffers a scene flushing should release old textures and
make space for new ones.  Fixes problem with texdown.c test.
src/mesa/state_tracker/st_cb_texture.c