2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-21 04:59:11 +00:00

Fix crash on exit

This commit is contained in:
2016-02-19 21:49:47 -08:00
parent bd0a72a4cb
commit 4bfe4026f2
2 changed files with 11 additions and 7 deletions

View File

@@ -179,7 +179,7 @@ int CMain::appMain(boo::IApplication* app)
TOneStatic<CGameArchitectureSupport> archSupport;
boo::IGraphicsCommandQueue* gfxQ = mainWindow->getCommandQueue();
float rgba[4] = { 0.5f, 0.5f, 0.5f, 1.0f};
float rgba[4] = { 0.2f, 0.2f, 0.2f, 1.0f};
gfxQ->setClearColor(rgba);
float time = 0.0f;
@@ -192,6 +192,7 @@ int CMain::appMain(boo::IApplication* app)
xe8_b24_finished = archSupport->Update();
gfxQ->clearTarget();
gfxQ->resolveDisplay(nullptr);
gfxQ->execute();
time = (frame++) / 60.f;