Use DwmFlush when DWM is enabled.

Use DwmFlush instead of WGL_EXT_swap_control when desktop compositing is
enabled, to avoid the jitter of DWM and WGL vsync fighting.

Fixes #516.
This commit is contained in:
Camilla Berglund
2015-05-21 14:48:11 +02:00
parent 22e9451192
commit 8309e0ecb0
10 changed files with 29 additions and 29 deletions
+2
View File
@@ -65,6 +65,8 @@ GLFW bundles a number of dependencies in the `deps/` directory.
- Minimum required CMake version updated to 2.8.12
- Bugfix: Initialization failed on headless systems
- Bugfix: The cached current context could get out of sync
- [Win32] Removed `GLFW_USE_DWM_SWAP_INTERVAL` compile-time option
- [Win32] Bugfix: Swap interval was ignored when DWM was enabled
- [Cocoa] Bugfix: The cached `NSScreen` for a monitor could get out of sync
- [Cocoa] Bugfix: The `GLFW_AUTO_ICONIFY` window hint was ignored
- [Cocoa] Bugfix: Resizing a window to its minimum size would segfault