mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-20 14:00:11 +01:00
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:
parent
51c6ae4c3a
commit
a697fb6aca
1 changed files with 1 additions and 1 deletions
|
|
@ -614,7 +614,7 @@ set_mode(struct connector *c, int count, int page_flip)
|
||||||
c[i].swap_count = 0;
|
c[i].swap_count = 0;
|
||||||
c[i].fb_id[0] = fb_id;
|
c[i].fb_id[0] = fb_id;
|
||||||
c[i].fb_id[1] = other_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);
|
memset(&evctx, 0, sizeof evctx);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue