2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-08 18:24:55 +00:00

Update submodules

This commit is contained in:
Jack Andersen
2015-11-30 14:37:05 -10:00
parent 0e69be17d3
commit 5424494f7e
3 changed files with 5 additions and 5 deletions

View File

@@ -32,6 +32,7 @@ struct Application : boo::IApplicationCallback
int appMain(boo::IApplication* app) int appMain(boo::IApplication* app)
{ {
m_mainWindow = app->newWindow(_S("RUDE")); m_mainWindow = app->newWindow(_S("RUDE"));
m_mainWindow->showWindow();
m_mainWindow->setWaitCursor(true); m_mainWindow->setWaitCursor(true);
m_cvarManager.serialize(); m_cvarManager.serialize();
Retro::CVar* tmp = m_cvarManager.findCVar("r_clearcolor"); Retro::CVar* tmp = m_cvarManager.findCVar("r_clearcolor");
@@ -43,7 +44,6 @@ struct Application : boo::IApplicationCallback
m_viewSystem.init(gf, &m_fontCache); m_viewSystem.init(gf, &m_fontCache);
m_rootView.reset(new Specter::RootView(m_viewSystem, m_mainWindow)); m_rootView.reset(new Specter::RootView(m_viewSystem, m_mainWindow));
m_mainWindow->showWindow();
m_mainWindow->setWaitCursor(false); m_mainWindow->setWaitCursor(false);
boo::IGraphicsCommandQueue* gfxQ = m_mainWindow->getCommandQueue(); boo::IGraphicsCommandQueue* gfxQ = m_mainWindow->getCommandQueue();
while (m_running) while (m_running)
@@ -51,10 +51,10 @@ struct Application : boo::IApplicationCallback
if (m_rootView->isDestroyed()) if (m_rootView->isDestroyed())
break; break;
m_cvarManager.update(); m_cvarManager.update();
m_mainWindow->waitForRetrace(); m_rootView->dispatchEvents();
m_rootView->draw(gfxQ); m_rootView->draw(gfxQ);
gfxQ->flushBufferUpdates();
gfxQ->execute(); gfxQ->execute();
m_mainWindow->waitForRetrace();
} }
return 0; return 0;

2
hecl

Submodule hecl updated: 2f3a483934...7f189da063