llvmpipe: don't crash/assert on out of memory
authorBrian Paul <brianp@vmware.com>
Tue, 29 Jun 2010 21:40:15 +0000 (15:40 -0600)
committerBrian Paul <brianp@vmware.com>
Tue, 29 Jun 2010 21:40:19 +0000 (15:40 -0600)
commit3d6101245b2726721a26931e0491c61286ca29c6
treed6b53f8b69309e27a6803181d86e59bab103d030
parent249c6735dd5679be9f6ab8951982253919152985
llvmpipe: don't crash/assert on out of memory

Check for null pointers and return early, etc.
src/gallium/drivers/llvmpipe/lp_rast_priv.h
src/gallium/drivers/llvmpipe/lp_surface.c
src/gallium/drivers/llvmpipe/lp_texture.c