aboutsummaryrefslogtreecommitdiff
path: root/include/mglpp/window/Window.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/mglpp/window/Window.hpp')
-rw-r--r--include/mglpp/window/Window.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/mglpp/window/Window.hpp b/include/mglpp/window/Window.hpp
index 2f148e7..c90f89e 100644
--- a/include/mglpp/window/Window.hpp
+++ b/include/mglpp/window/Window.hpp
@@ -75,6 +75,9 @@ namespace mgl {
bool is_vsync_enabled() const;
void set_fullscreen(bool fullscreen);
bool is_fullscreen() const;
+ // Enabling low latency may slightly increase cpu usage
+ void set_low_latency(bool low_latency);
+ bool is_low_latency_enabled() const;
void set_key_repeat_enabled(bool enabled);
void set_cursor_visible(bool visible);
vec2i get_size() const;