aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2023-08-25 11:12:55 +0200
committerdec05eba <dec05eba@protonmail.com>2023-08-25 11:12:55 +0200
commitf273d44d325a50631698865f6b863b4685e0cb2a (patch)
tree6727fe0ffa714abf647ad3cf86030b3235119736 /include
parent99288368ebe3d1f170a102c1dbd4330c6cc92d0a (diff)
Add missing low latency functions for window
Diffstat (limited to 'include')
-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;