Commit 3db1c863 by NTAuthority

only try the test if there's an universe

parent 442f2ba3
Pipeline #59 skipped
......@@ -164,7 +164,10 @@ void Game::Run()
LoadUniverseIfAvailable();
// rendering test
RenderingTest(gfxContext);
if (this->universes.size() > 0)
{
RenderingTest(gfxContext);
}
// whatever else might come to mind
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment