diff options
author | Nao Pross <naopross@thearcway.org> | 2019-01-23 02:49:24 +0100 |
---|---|---|
committer | Nao Pross <naopross@thearcway.org> | 2019-01-23 02:49:24 +0100 |
commit | 27fff58240ed2f1097b599420f56ac25399a8c7e (patch) | |
tree | 243331e34628bf1dab883835604acc92a9ce5e3f /test | |
parent | Separate renderer from window (diff) | |
download | libwsdl2-27fff58240ed2f1097b599420f56ac25399a8c7e.tar.gz libwsdl2-27fff58240ed2f1097b599420f56ac25399a8c7e.zip |
Limit framerate of window_test
Diffstat (limited to '')
-rw-r--r-- | test/window_test.cpp | 2 |
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()); }); |