softpipe: add null ptr check in softpipe_map_constant_buffers()
authorBrian Paul <brianp@vmware.com>
Mon, 9 Feb 2009 17:12:11 +0000 (10:12 -0700)
committerBrian Paul <brianp@vmware.com>
Mon, 9 Feb 2009 17:12:11 +0000 (10:12 -0700)
commit3c15e02783ed5e908d7668c39786337d62e51d12
tree082c95fda45d4602789bb63477467fdf2aefb239
parent87e44d9003d6fdd4b9be911ad1aa4de1f87068d9
softpipe: add null ptr check in softpipe_map_constant_buffers()

Fixes segfault regression in progs/glsl/identity.c
src/gallium/drivers/softpipe/sp_draw_arrays.c