gallium: catch some out of memory conditions in the texture image code.
authorBrian Paul <brian.paul@tungstengraphics.com>
Thu, 20 Mar 2008 23:08:07 +0000 (17:08 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Thu, 20 Mar 2008 23:08:07 +0000 (17:08 -0600)
commit3b3774b1227743147159676795b542c0eb7c2bdf
treeef9f0d4b13d5304b67290a86424a32ea47f851c0
parent0565e6888a332956661f6bc8b5778b058168e5f9
gallium: catch some out of memory conditions in the texture image code.

st_finalize_texture()'s return code now indicates success/fail instead of
presence of texture border (which we discard earlier).
src/mesa/state_tracker/st_atom_texture.c
src/mesa/state_tracker/st_cb_texture.c