mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 03:47:43 +00:00
First skybox and HUD rendering
This commit is contained in:
@@ -28,7 +28,8 @@ namespace urde
|
||||
void ViewManager::InitMP1(MP1::CMain& main)
|
||||
{
|
||||
main.Init(m_fileStoreManager, m_mainWindow.get(), m_voiceEngine.get(), *m_amuseAllocWrapper);
|
||||
main.WarmupShaders();
|
||||
if (!m_noShaderWarmup)
|
||||
main.WarmupShaders();
|
||||
|
||||
m_testGameView.reset(new TestGameView(*this, m_viewResources, *m_rootView));
|
||||
|
||||
@@ -218,11 +219,10 @@ void ViewManager::init(boo::IApplication* app)
|
||||
|
||||
for (const auto& arg : app->getArgs())
|
||||
{
|
||||
if (hecl::SearchForProject(arg))
|
||||
{
|
||||
if (m_deferedProject.empty() && hecl::SearchForProject(arg))
|
||||
m_deferedProject = arg;
|
||||
break;
|
||||
}
|
||||
if (arg == _S("--no-shader-warmup"))
|
||||
m_noShaderWarmup = true;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user