Enable clipping and disable v-sync for now
This commit is contained in:
parent
394e599c3a
commit
4a356cfc16
3 changed files with 17 additions and 17 deletions
|
|
@ -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,
|
||||
},
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue