Set process priority to high on windows

This commit is contained in:
2024-11-17 20:57:43 -05:00
parent 63cb7a4835
commit c84531e70e
3 changed files with 16 additions and 0 deletions
+3
View File
@@ -23,6 +23,9 @@ thread-priority = "1"
wgpu = "23.0"
winit = "0.30"
[target.'cfg(windows)'.dependencies]
windows = { version = "0.58", features = ["Win32_System_Threading"] }
[build-dependencies]
cc = "1"