From 97ff8487622e6957daebe88232189114fe7aff9c Mon Sep 17 00:00:00 2001 From: Shylie Date: Wed, 28 Feb 2024 14:14:46 -0500 Subject: [PATCH] Fix issue caused by event loop taking too long --- source/terml.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/terml.cpp b/source/terml.cpp index 38764bc..a6cfcec 100644 --- a/source/terml.cpp +++ b/source/terml.cpp @@ -171,7 +171,7 @@ void terml::mainloop() process_events(); - last_time += wait_time; + last_time = current_time; } if (should_quit)