swrast: replace assertion with conditional in _swrast_map_teximage()
authorBrian Paul <brianp@vmware.com>
Mon, 26 Dec 2011 21:49:57 +0000 (14:49 -0700)
committerBrian Paul <brianp@vmware.com>
Mon, 26 Dec 2011 22:22:26 +0000 (15:22 -0700)
commit08a81c8697cae18e118437936456aa36f82ceeed
tree97a1ed6dd145f5d24f2ac38e67bf2bc5249cbbf2
parent62f2d6ef034559257e01235c3562d821bdade4f5
swrast: replace assertion with conditional in _swrast_map_teximage()

Just in case we ran out of memory when trying to allocate the texture
memory.
src/mesa/swrast/s_texture.c