fix: phanes_game is now of pointer type.
This commit is contained in:
parent
a9b2d7e6fc
commit
5cc96939d4
@ -6,17 +6,17 @@ extern Phanes::Core::Application::PhanesProject* Phanes::Core::Application::Crea
|
|||||||
|
|
||||||
int main()
|
int main()
|
||||||
{
|
{
|
||||||
Phanes::Core::Logging::Logger::Init();
|
Phanes::Core::Logging::Logger::Init();
|
||||||
PENGINE_LOG_INFO("Logger initialized!");
|
PENGINE_LOG_INFO("Logger initialized!");
|
||||||
PENGINE_LOG_INFO("Welcome to PhanesEngine!");
|
PENGINE_LOG_INFO("Welcome to PhanesEngine!");
|
||||||
|
|
||||||
auto phanes_game = Phanes::Core::Application::CreatePhanesGame();
|
auto* phanes_game = Phanes::Core::Application::CreatePhanesGame();
|
||||||
|
|
||||||
phanes_game->Run();
|
phanes_game->Run();
|
||||||
|
|
||||||
delete phanes_game;
|
delete phanes_game;
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
Loading…
x
Reference in New Issue
Block a user