Use Fifo for example

This commit is contained in:
Joshua Groves 2022-11-28 02:23:10 -03:30 committed by Josh Groves
parent 8a1153039e
commit 609814de6b

View file

@ -56,7 +56,7 @@ async fn run() {
format: swapchain_format, format: swapchain_format,
width: size.width, width: size.width,
height: size.height, height: size.height,
present_mode: PresentMode::Mailbox, present_mode: PresentMode::Fifo,
alpha_mode: CompositeAlphaMode::Opaque, alpha_mode: CompositeAlphaMode::Opaque,
}; };
surface.configure(&device, &config); surface.configure(&device, &config);