mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 21:07:42 +00:00
Lots of bug fixes (Windows still needs some fixes)
This commit is contained in:
@@ -25,8 +25,11 @@ using YAMLNode = athena::io::YAMLNode;
|
||||
namespace urde
|
||||
{
|
||||
|
||||
void ViewManager::BuildTestPART()
|
||||
void ViewManager::InitMP1(MP1::CMain& main)
|
||||
{
|
||||
main.Init(m_fileStoreManager, m_mainWindow.get(), m_voiceEngine.get(), *m_amuseAllocWrapper);
|
||||
main.WarmupShaders();
|
||||
|
||||
m_testGameView.reset(new TestGameView(*this, m_viewResources, *m_rootView));
|
||||
|
||||
m_rootView->accessContentViews().clear();
|
||||
@@ -34,12 +37,6 @@ void ViewManager::BuildTestPART()
|
||||
m_rootView->updateSize();
|
||||
}
|
||||
|
||||
void ViewManager::InitMP1(MP1::CMain& main)
|
||||
{
|
||||
main.Init(m_fileStoreManager, m_mainWindow.get(), m_voiceEngine.get(), *m_amuseAllocWrapper);
|
||||
main.WarmupShaders();
|
||||
}
|
||||
|
||||
void ViewManager::TestGameView::resized(const boo::SWindowRect& root, const boo::SWindowRect& sub)
|
||||
{
|
||||
specter::View::resized(root, sub);
|
||||
@@ -48,7 +45,6 @@ void ViewManager::TestGameView::resized(const boo::SWindowRect& root, const boo:
|
||||
|
||||
void ViewManager::TestGameView::draw(boo::IGraphicsCommandQueue* gfxQ)
|
||||
{
|
||||
gfxQ->clearTarget(true, true);
|
||||
m_vm.m_projManager.mainDraw();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user