gallium: add some checks for null surface pointers in state tracker
authorBrian Paul <brian.paul@tungstengraphics.com>
Sat, 18 Oct 2008 15:55:54 +0000 (09:55 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Sat, 18 Oct 2008 15:55:54 +0000 (09:55 -0600)
commit6c6c2f1d23b02491c60e0cbce6815b468ff14c08
tree138e8bbf85e127b6102ddbf5d2c4935873475506
parentd422c1eb5c0fac8f946758ecce96072505c77683
gallium: add some checks for null surface pointers in state tracker

Fixes some segfaults in low memory situations.
src/mesa/state_tracker/st_atom_framebuffer.c
src/mesa/state_tracker/st_cb_clear.c
src/mesa/state_tracker/st_framebuffer.c