aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/window/Window.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/window/Window.cpp b/src/window/Window.cpp
index 512991a..d519e2f 100644
--- a/src/window/Window.cpp
+++ b/src/window/Window.cpp
@@ -109,6 +109,14 @@ namespace mgl {
return mgl_window_is_fullscreen(&window);
}
+ void Window::set_low_latency(bool low_latency) {
+ mgl_window_set_low_latency(&window, low_latency);
+ }
+
+ bool Window::is_low_latency_enabled() const {
+ return mgl_window_is_low_latency_enabled(&window);
+ }
+
void Window::set_key_repeat_enabled(bool enabled) {
mgl_window_set_key_repeat_enabled(&window, enabled);
}