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 --- depends/mgl | 2 +- include/mglpp/window/Window.hpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/depends/mgl b/depends/mgl index 838831e..e143163 160000 --- a/depends/mgl +++ b/depends/mgl @@ -1 +1 @@ -Subproject commit 838831e13a9c6b3114d4d9ec0417f04dde47b1ac +Subproject commit e1431633f7eb33041330b8bf01a5954e747c60a1 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