diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2011-06-27 21:07:22 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2011-06-27 21:08:52 +0100 |
commit | 95866bd6bdaeb612732fd43ec1b93e088763086e (patch) | |
tree | f02a61a901df09017e75081e47b5ece15e8189b6 /src/sna/gen6_render.c | |
parent | 7446b39f04306ae2ffccdfe8dd6c8bda64a27043 (diff) |
sna/video: Use EXTEND_PAD to avoid mixing in the border color
...which is 0 and appears green around an unaligned YUV-video.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=38723
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/gen6_render.c')
-rw-r--r-- | src/sna/gen6_render.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/gen6_render.c b/src/sna/gen6_render.c index bd0f8c42..0b6f9954 100644 --- a/src/sna/gen6_render.c +++ b/src/sna/gen6_render.c @@ -1824,7 +1824,7 @@ gen6_render_video(struct sna *sna, tmp.dst.bo = priv->gpu_bo; tmp.src.filter = SAMPLER_FILTER_BILINEAR; - tmp.src.repeat = SAMPLER_EXTEND_NONE; + tmp.src.repeat = SAMPLER_EXTEND_PAD; tmp.is_affine = TRUE; tmp.floats_per_vertex = 3; |