summaryrefslogtreecommitdiff
path: root/src/sna/sna_video_textured.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2012-12-18 20:54:33 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2012-12-18 23:09:42 +0000
commitbfd96b092db5e4e0fc2446752deafd1156cf37b3 (patch)
tree34fcedded5bc533529faa838eba874d32df66d7a /src/sna/sna_video_textured.c
parent2df1b1abf0728f28d2803a096f945779cbe7c70b (diff)
sna/video: Fix presentation of cropped sprites
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna_video_textured.c')
-rw-r--r--src/sna/sna_video_textured.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sna/sna_video_textured.c b/src/sna/sna_video_textured.c
index cc35c57c..c5947ed5 100644
--- a/src/sna/sna_video_textured.c
+++ b/src/sna/sna_video_textured.c
@@ -453,6 +453,7 @@ XF86VideoAdaptorPtr sna_video_textured_setup(struct sna *sna,
struct sna_video *v = &video[i];
v->textured = true;
+ video->alignment = 4;
v->rotation = RR_Rotate_0;
v->SyncToVblank = 1;