st/mesa: properly handle u_upload_alloc failure
authorIlia Mirkin <imirkin@alum.mit.edu>
Sat, 5 Sep 2015 17:11:27 +0000 (13:11 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Sun, 6 Sep 2015 15:32:07 +0000 (11:32 -0400)
commitbfd3d5244b26aca7696715066f5e5331e0b5fe2a
treebafc3b646974a3532bb6dead0503c724cca8a7f8
parenta778831735ea45f789c247c40677cd26adc78e3e
st/mesa: properly handle u_upload_alloc failure

vbuf is never null. We want to make sure that a resource was allocated
for the vbuf, which is *vbuf.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/state_tracker/st_cb_bitmap.c