diff options
author | Chia-I Wu <[email protected]> | 2010-03-03 23:51:13 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2010-03-08 11:29:25 +0800 |
commit | ee6fbf8d2f4718452c36366a08aa798cdda45ace (patch) | |
tree | 906ceea1523f54b59a2306c317bfe11f71480dee /src/gallium | |
parent | 661b416e07004655af3f372114119e4f8166496e (diff) |
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.
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/state_trackers/vega/paint.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gallium/state_trackers/vega/paint.c b/src/gallium/state_trackers/vega/paint.c index caf0c14b745..cdb87d3bf68 100644 --- a/src/gallium/state_trackers/vega/paint.c +++ b/src/gallium/state_trackers/vega/paint.c @@ -639,9 +639,6 @@ VGint paint_bind_samplers(struct vg_paint *paint, struct pipe_sampler_state **sa } break; default: - samplers[0] = &paint->pattern.sampler; /* dummy */ - textures[0] = 0; - return 0; break; } return 0; |