modetest: Do no flip twice to a current front buffer

The incorrect order was:
fb, other_fb, other_fb, fb_id, other_fb, ..
This commit is contained in:
Benjamin Franzke 2011-02-17 20:36:42 +01:00
parent 51c6ae4c3a
commit a697fb6aca

View file

@ -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);