windows: prefer regular vsync instead of dwm flush syncs.

The latter can cause stuttering issues on some setups.
This commit is contained in:
Sasha Szpakowski
2024-04-05 22:30:58 -03:00
parent e08004d338
commit 1d9d3346c5
2 changed files with 11 additions and 1 deletions
+4
View File
@@ -162,6 +162,10 @@ private:
WindowSettings settings;
StrongRef<love::image::ImageData> icon;
#ifdef LOVE_WINDOWS
bool canUseDwmFlush = false;
#endif
bool open;
bool mouseGrabbed;