diff options
author | Christian König <[email protected]> | 2011-05-07 14:49:58 +0200 |
---|---|---|
committer | Christian König <[email protected]> | 2011-05-07 14:49:58 +0200 |
commit | 6a5d2d7967074be2ea87c06ee1e9af3ac34a5c99 (patch) | |
tree | 3c9d634b7aac7717b2022ef89bf3740e3460f728 /src/gallium/auxiliary | |
parent | a67a0bb60c9f17608fe78467263ef7dbc5b49b0a (diff) |
[g3dvl] rgba surfaces are clearing if the alpha channel is one
Diffstat (limited to 'src/gallium/auxiliary')
-rw-r--r-- | src/gallium/auxiliary/vl/vl_compositor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/vl/vl_compositor.c b/src/gallium/auxiliary/vl/vl_compositor.c index 74512c1d40a..83c93637219 100644 --- a/src/gallium/auxiliary/vl/vl_compositor.c +++ b/src/gallium/auxiliary/vl/vl_compositor.c @@ -645,7 +645,7 @@ vl_compositor_set_rgba_layer(struct pipe_video_compositor *compositor, assert(layer < VL_COMPOSITOR_MAX_LAYERS); c->used_layers |= 1 << layer; - c->layers[layer].clearing = false; + c->layers[layer].clearing = rgba->swizzle_a == PIPE_SWIZZLE_ONE; c->layers[layer].fs = c->fs_rgba; c->layers[layer].samplers[0] = c->sampler_linear; c->layers[layer].samplers[1] = NULL; |