gui updates
This commit is contained in:
parent
a55a5ec5cc
commit
4a557d7e5c
42 changed files with 1179 additions and 962 deletions
|
|
@ -35,9 +35,9 @@ void Application::run() {
|
|||
}
|
||||
|
||||
while (!mWindow->shouldClose()) {
|
||||
if (mProcTimer.isTimeout()) {
|
||||
mWindow->processEvents();
|
||||
|
||||
mWindow->processEvents();
|
||||
if (mProcTimer.isTimeout() || eventHandler->isEvents()) {
|
||||
|
||||
while (eventHandler->isEvents()) {
|
||||
eventHandler->processEvent();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue