Skip to main content

wanted_present_mode

Function wanted_present_mode 

Source
pub fn wanted_present_mode(wayland: bool) -> PresentMode
Expand description

The wgpu present mode a multi-window application should use: on Wayland (WAYLAND_DISPLAY set), AutoNoVsync, as a FIFO present can stall every window behind one surface; AutoVsync elsewhere.