draw: Handle failure to allocate aligned_constant_storage.
authorJosé Fonseca <jfonseca@vmware.com>
Wed, 9 Nov 2011 18:58:28 +0000 (18:58 +0000)
committerJosé Fonseca <jfonseca@vmware.com>
Mon, 14 Nov 2011 10:06:00 +0000 (10:06 +0000)
commit9e29cdbe95810de8658dfd1cabf1a7d87264c2f7
tree8890886709260d28912ace0e5f95c6559686edef
parente21c5157b6b39d2332e7e13eeb45a7d2b6a41756
draw: Handle failure to allocate aligned_constant_storage.

Also, actually update const_storage_size, therefore avoiding to
unnecessarily reallocate aligned_constant_storage every single time
draw_vs_set_constants() is called.

Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/auxiliary/draw/draw_vs.c