From 27fff58240ed2f1097b599420f56ac25399a8c7e Mon Sep 17 00:00:00 2001 From: Nao Pross Date: Wed, 23 Jan 2019 02:49:24 +0100 Subject: Limit framerate of window_test --- test/window_test.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/window_test.cpp b/test/window_test.cpp index 3971645..6ba1eaa 100644 --- a/test/window_test.cpp +++ b/test/window_test.cpp @@ -41,6 +41,8 @@ int main(int argc, char *argv[]) { } win.update(); + // ~60 fps test + wsdl2::delay(1000.0/60.0); } while (win.is_open()); }); -- cgit v1.2.1