sna/video: Select vsync by default based on "SwapbuffersWait"
To be strictly identical to the DRI code, we should override the user when the option is set. However, this a baby step for simple bug testing. References: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/1176647 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
7e1e18aca2
commit
ab47433b20
|
|
@ -397,7 +397,7 @@ void sna_video_textured_setup(struct sna *sna, ScreenPtr screen)
|
|||
v->textured = true;
|
||||
v->alignment = 4;
|
||||
v->rotation = RR_Rotate_0;
|
||||
v->SyncToVblank = 1;
|
||||
v->SyncToVblank = (sna->flags & SNA_NO_WAIT) == 0;
|
||||
|
||||
RegionNull(&v->clip);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue