i915g: Prevent NULL dereference.
authorChia-I Wu <olv@lunarg.com>
Wed, 10 Mar 2010 14:58:51 +0000 (22:58 +0800)
committerChia-I Wu <olv@lunarg.com>
Wed, 10 Mar 2010 15:00:09 +0000 (23:00 +0800)
commitc47c73293d359c00abb34c39d1163b4c55f531de
treeae6ff8f0dd095091065fdba4af2f4f814d0729e6
parente4848d21e8f384f4157076d5e7c7c9d38da6598e
i915g: Prevent NULL dereference.

bind_vertex_elements_state may be called with NULL velems.  Do nothing
if that is the case.
src/gallium/drivers/i915/i915_state.c