diff options
author | dec05eba <dec05eba@protonmail.com> | 2021-09-08 12:14:04 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2021-09-08 12:14:04 +0200 |
commit | 24b0ed2ae8a0d52ceee647e34a943213e9d3bc89 (patch) | |
tree | 50ea8cd9419afbe823a3c1226bebec1ed7063e00 | |
parent | ad678b5a1b7f457378b1d8ae7cdaf3ee7a08eb75 (diff) |
Re-enable vsync
-rw-r--r-- | src/QuickMedia.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/QuickMedia.cpp b/src/QuickMedia.cpp index d06a0b7..640ec16 100644 --- a/src/QuickMedia.cpp +++ b/src/QuickMedia.cpp @@ -637,7 +637,7 @@ namespace QuickMedia { XSetErrorHandler(x_error_handler); XSetIOErrorHandler(x_io_error_handler); - window.setVerticalSyncEnabled(false); + window.setVerticalSyncEnabled(true); monitor_hz = get_monitor_max_hz(disp); window.setFramerateLimit(monitor_hz); idle = false; |