mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-18 05:29:18 +02:00
pbo work
This commit is contained in:
@@ -147,6 +147,9 @@ eu07_application::run() {
|
||||
// main application loop
|
||||
while (!glfwWindowShouldClose( m_windows.front() ) && !m_modestack.empty())
|
||||
{
|
||||
Timer::subsystem.mainloop_total.start();
|
||||
glfwPollEvents();
|
||||
|
||||
if (!m_modes[ m_modestack.top() ]->update())
|
||||
break;
|
||||
if (!GfxRenderer.Render())
|
||||
@@ -154,9 +157,6 @@ eu07_application::run() {
|
||||
|
||||
GfxRenderer.SwapBuffers();
|
||||
|
||||
Timer::subsystem.mainloop_total.start();
|
||||
glfwPollEvents();
|
||||
|
||||
if (m_modestack.empty())
|
||||
return 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user