Fix issue caused by event loop taking too long
This commit is contained in:
parent
c949dbb9d9
commit
97ff848762
@ -171,7 +171,7 @@ void terml::mainloop()
|
|||||||
|
|
||||||
process_events();
|
process_events();
|
||||||
|
|
||||||
last_time += wait_time;
|
last_time = current_time;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (should_quit)
|
if (should_quit)
|
||||||
|
Loading…
Reference in New Issue
Block a user