fix: phanes_game is now of pointer type.

This commit is contained in:
Thorben Höhne 2025-05-01 19:49:28 +02:00
parent a9b2d7e6fc
commit 5cc96939d4
Signed by: thoehne
GPG Key ID: 60D202D915B81DEC

View File

@ -6,17 +6,17 @@ extern Phanes::Core::Application::PhanesProject* Phanes::Core::Application::Crea
int main()
{
Phanes::Core::Logging::Logger::Init();
PENGINE_LOG_INFO("Logger initialized!");
PENGINE_LOG_INFO("Welcome to PhanesEngine!");
Phanes::Core::Logging::Logger::Init();
PENGINE_LOG_INFO("Logger initialized!");
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