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 /include | |
parent | b1376994950a48684f8a223172b196aae4454d42 (diff) |
Better document window_set_framerate_limit
Diffstat (limited to 'include')
-rw-r--r-- | include/mglpp/window/Window.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
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); |