mirror of
https://github.com/love2d/love.git
synced 2026-08-18 19:54:22 +02:00
windows: prefer regular vsync instead of dwm flush syncs.
The latter can cause stuttering issues on some setups.
This commit is contained in:
@@ -162,6 +162,10 @@ private:
|
||||
WindowSettings settings;
|
||||
StrongRef<love::image::ImageData> icon;
|
||||
|
||||
#ifdef LOVE_WINDOWS
|
||||
bool canUseDwmFlush = false;
|
||||
#endif
|
||||
|
||||
bool open;
|
||||
|
||||
bool mouseGrabbed;
|
||||
|
||||
Reference in New Issue
Block a user