Use Fifo
for example
This commit is contained in:
parent
8a1153039e
commit
609814de6b
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue