summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2011-02-17 20:36:42 +0100
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2011-02-17 20:40:30 +0100
commita697fb6acad7992c3d23bb6a663663694782eb7b (patch)
treec1919a045a4b2e9b91058670a872ad4c4876e317 /tests
parent51c6ae4c3a0e5527d3c6e1632b21546baaba0b29 (diff)
modetest: Do no flip twice to a current front buffer
The incorrect order was: fb, other_fb, other_fb, fb_id, other_fb, ..
Diffstat (limited to 'tests')
-rw-r--r--tests/modetest/modetest.c2
1 files changed, 1 insertions, 1 deletions
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);