We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ba34813 commit 4cfc67bCopy full SHA for 4cfc67b
1 file changed
src/main.rs
@@ -70,6 +70,13 @@ fn main() {
70
};
71
72
let mut options = eframe::NativeOptions::default();
73
+ // Smoother drag/resize on Windows/Linux
74
+ #[cfg(any(target_os = "windows", target_os = "linux"))]
75
+ {
76
+ options.vsync = false;
77
+ options.run_and_return = false;
78
+ options.wgpu_options.present_mode = wgpu::PresentMode::AutoNoVsync;
79
+ }
80
81
// Prefer GL only on macOS Intel
82
#[cfg(all(target_os = "macos", target_arch = "x86_64"))]
0 commit comments