summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/window_test.cpp2
1 files changed, 2 insertions, 0 deletions
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());
});