diff options
author | dec05eba <dec05eba@protonmail.com> | 2021-11-19 21:37:47 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2021-11-19 21:37:47 +0100 |
commit | c56af6cf176671182e42afc27ac4392fb13b2c4a (patch) | |
tree | d1685cd37d42f6d6acdbef7e60781740fc5522dd | |
parent | b1376994950a48684f8a223172b196aae4454d42 (diff) |
Better document window_set_framerate_limit
m--------- | depends/mgl | 0 | ||||
-rw-r--r-- | include/mglpp/window/Window.hpp | 1 |
2 files changed, 1 insertions, 0 deletions
diff --git a/depends/mgl b/depends/mgl -Subproject 838831e13a9c6b3114d4d9ec0417f04dde47b1a +Subproject e1431633f7eb33041330b8bf01a5954e747c60a diff --git a/include/mglpp/window/Window.hpp b/include/mglpp/window/Window.hpp index 1b7c292..1bc71b9 100644 --- a/include/mglpp/window/Window.hpp +++ b/include/mglpp/window/Window.hpp @@ -57,6 +57,7 @@ namespace mgl { bool has_focus() const; void close(); void set_title(const char *title); + // 0 = no fps limit, or limit fps to vsync if vsync is enabled void set_framerate_limit(unsigned int fps); void set_key_repeat_enabled(bool enabled); void set_cursor_visible(bool visible); |