Notify winit before presenting frames
This commit is contained in:
1 parent
ec2b5d4c1d
commit
2b6a6ab378
1 file changed
+1
@@ -45,6 +45,7 @@ impl UiRenderer {
|
|||||||
}
|
}
|
||||||
|
|
||||||
self.queue.submit(std::iter::once(encoder.finish()));
|
self.queue.submit(std::iter::once(encoder.finish()));
|
||||||
|
self.window.pre_present_notify();
|
||||||
output.present();
|
output.present();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user