From c56af6cf176671182e42afc27ac4392fb13b2c4a Mon Sep 17 00:00:00 2001 From: dec05eba Date: Fri, 19 Nov 2021 21:37:47 +0100 Subject: Better document window_set_framerate_limit --- include/mglpp/window/Window.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'include') 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); -- cgit v1.2.3