diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2012-12-21 21:36:30 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2012-12-21 21:36:30 +0000 |
commit | 52fd223fc970118cbdcb31f9574414debc905e9c (patch) | |
tree | 968332e000bd68cd50ba95e6751059ad41181f30 /src/sna/sna_video_textured.c | |
parent | 3793ccf7804cfc870b46c623dfeefbe0c381c1d4 (diff) |
sna/video: Initialise alignment for video ports > 0
We repeatedly set the alignment value on the first port, rather than
once for each.
Reported-by: Jiri Slaby <jirislaby@gmail.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=47597
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/sna_video_textured.c b/src/sna/sna_video_textured.c index c5947ed5..e5cae859 100644 --- a/src/sna/sna_video_textured.c +++ b/src/sna/sna_video_textured.c @@ -453,7 +453,7 @@ XF86VideoAdaptorPtr sna_video_textured_setup(struct sna *sna, struct sna_video *v = &video[i]; v->textured = true; - video->alignment = 4; + v->alignment = 4; v->rotation = RR_Rotate_0; v->SyncToVblank = 1; |