From a697fb6acad7992c3d23bb6a663663694782eb7b Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Thu, 17 Feb 2011 20:36:42 +0100 Subject: modetest: Do no flip twice to a current front buffer The incorrect order was: fb, other_fb, other_fb, fb_id, other_fb, .. --- tests/modetest/modetest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/modetest/modetest.c b/tests/modetest/modetest.c index 6a408203..bd0f0a0a 100644 --- a/tests/modetest/modetest.c +++ b/tests/modetest/modetest.c @@ -614,7 +614,7 @@ set_mode(struct connector *c, int count, int page_flip) c[i].swap_count = 0; c[i].fb_id[0] = fb_id; c[i].fb_id[1] = other_fb_id; - c[i].current_fb_id = fb_id; + c[i].current_fb_id = other_fb_id; } memset(&evctx, 0, sizeof evctx); -- cgit v1.2.3