gallium/cso: check for set_vertex_sampler_views != NULL before calling it
authorBrian Paul <brianp@vmware.com>
Fri, 2 Jul 2010 14:07:34 +0000 (08:07 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 2 Jul 2010 14:08:22 +0000 (08:08 -0600)
commite845765f0f8791a0e6c2e54b91ebf9f0e831d19f
tree5efaa0822c7af46944bdde897abfca03fd02ef39
parent53d3f0c78818c93e7121857998ba207bfe9275fe
gallium/cso: check for set_vertex_sampler_views != NULL before calling it

Not all drivers implement this method.
Fixes regression reported by Chris Rankin and bug 28889.
src/gallium/auxiliary/cso_cache/cso_context.c