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
@@ -9,6 +9,7 @@
|
||||
### Changed
|
||||
|
||||
- Remove global context
|
||||
- Notify windowing system before presenting
|
||||
|
||||
## [0.1.2] - 2025-10-20
|
||||
|
||||
|
||||
@@ -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