st/vega: Fix OpenVG demo segfaults.
authorChia-I Wu <olv@lunarg.com>
Wed, 3 Mar 2010 15:51:13 +0000 (23:51 +0800)
committerChia-I Wu <olv@lunarg.com>
Mon, 8 Mar 2010 03:29:25 +0000 (11:29 +0800)
commitee6fbf8d2f4718452c36366a08aa798cdda45ace
tree906ceea1523f54b59a2306c317bfe11f71480dee
parent661b416e07004655af3f372114119e4f8166496e
st/vega: Fix OpenVG demo segfaults.

When the paint is color, paint_bind_samplers binds a dummy sampler
without a texture.  It causes demos requiring a sampler (those use a
mask or an image) to crash.
src/gallium/state_trackers/vega/paint.c