fixup raw_legacy flip after commit
This commit is contained in:
parent
57e5494941
commit
4b2e19cade
|
@ -122,7 +122,6 @@ fn main() {
|
||||||
if surface.commit_pending() {
|
if surface.commit_pending() {
|
||||||
surface.commit(front_framebuffer).unwrap();
|
surface.commit(front_framebuffer).unwrap();
|
||||||
}
|
}
|
||||||
RawSurface::page_flip(&*surface, front_framebuffer).unwrap();
|
|
||||||
|
|
||||||
// Run
|
// Run
|
||||||
event_loop.run(None, &mut (), |_| {}).unwrap();
|
event_loop.run(None, &mut (), |_| {}).unwrap();
|
||||||
|
|
Loading…
Reference in New Issue