disable vsync for funsies
This commit is contained in:
parent
5885036f8f
commit
883be0bc01
@ -170,6 +170,7 @@ impl SetupContextPartial4{
|
|||||||
.expect("Surface isn't supported by the adapter.");
|
.expect("Surface isn't supported by the adapter.");
|
||||||
let surface_view_format=config.format.add_srgb_suffix();
|
let surface_view_format=config.format.add_srgb_suffix();
|
||||||
config.view_formats.push(surface_view_format);
|
config.view_formats.push(surface_view_format);
|
||||||
|
config.present_mode=wgpu::PresentMode::AutoNoVsync;
|
||||||
self.surface.configure(&self.device, &config);
|
self.surface.configure(&self.device, &config);
|
||||||
|
|
||||||
SetupContext{
|
SetupContext{
|
||||||
|
Loading…
Reference in New Issue
Block a user