Enable clipping and disable v-sync for now

This commit is contained in:
Héctor Ramón Jiménez 2024-04-05 01:24:34 +02:00
parent 394e599c3a
commit 4a356cfc16
No known key found for this signature in database
GPG key ID: 4C07CEC81AFA161F
3 changed files with 17 additions and 17 deletions

View file

@ -321,12 +321,12 @@ impl graphics::Compositor for Compositor {
&wgpu::SurfaceConfiguration {
usage: wgpu::TextureUsages::RENDER_ATTACHMENT,
format: self.format,
present_mode: self.settings.present_mode,
present_mode: wgpu::PresentMode::Immediate,
width,
height,
alpha_mode: self.alpha_mode,
view_formats: vec![],
desired_maximum_frame_latency: 1,
desired_maximum_frame_latency: 0,
},
);
}