aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-09-08 12:14:04 +0200
committerdec05eba <dec05eba@protonmail.com>2021-09-08 12:14:04 +0200
commit24b0ed2ae8a0d52ceee647e34a943213e9d3bc89 (patch)
tree50ea8cd9419afbe823a3c1226bebec1ed7063e00 /src
parentad678b5a1b7f457378b1d8ae7cdaf3ee7a08eb75 (diff)
Re-enable vsync
Diffstat (limited to 'src')
-rw-r--r--src/QuickMedia.cpp2
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;