We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5ff907 commit 3294619Copy full SHA for 3294619
internal/renderers/skia/wgpu_26_surface.rs
@@ -100,6 +100,8 @@ impl super::Surface for WGPUSurface {
100
101
let mut surface_config = self.surface_config.borrow_mut();
102
103
+ // Prefer FIFO modes over possible Mailbox setting for frame pacing and better energy efficiency.
104
+ surface_config.present_mode = wgpu::PresentMode::AutoVsync;
105
surface_config.width = size.width;
106
surface_config.height = size.height;
107
0 commit comments