Notify windowing system right before presenting
This commit is contained in:
1 parent
3cdfbc823b
commit
3ff483ad19
2 files changed
+3
No files matched your search
@@ -231,6 +231,8 @@ impl GraphicsContext {
|
||||
}
|
||||
|
||||
self.queue.submit(std::iter::once(encoder.finish()));
|
||||
|
||||
self.window.pre_present_notify();
|
||||
output.present();
|
||||
|
||||
if suboptimal {
|
||||
|
||||
Reference in new issue
Block a user