mirror of
https://github.com/X11Libre/xf86-video-intel.git
synced 2026-04-14 10:54:23 +00:00
test/dri2: Reset swap-interval after testing async swapping
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
@@ -154,6 +154,7 @@ static void run(Display *dpy, int width, int height,
|
||||
XMapWindow(dpy, win);
|
||||
|
||||
DRI2CreateDrawable(dpy, win);
|
||||
DRI2SwapInterval(dpy, win, 1);
|
||||
start_msc = check_msc(dpy, win, 0);
|
||||
|
||||
buffers = DRI2GetBuffers(dpy, win, &width, &height,
|
||||
|
||||
Reference in New Issue
Block a user