test/dri2: Reset swap-interval after testing async swapping

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
Chris Wilson 2015-04-02 22:50:54 +01:00
parent 3c3f7d7df4
commit 459efa036e
1 changed files with 1 additions and 0 deletions

View File

@ -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,