Do not create ENGINE in headless mode

This commit is contained in:
Ivan Savenko
2025-03-12 13:33:12 +00:00
parent eaad6f9ce0
commit 4684756c49
3 changed files with 12 additions and 16 deletions
-1
View File
@@ -108,7 +108,6 @@ public:
GameEngine();
~GameEngine();
void init();
[[noreturn]] void mainLoop();
/// called whenever SDL_WINDOWEVENT_RESTORED is reported or the user selects a different resolution, requiring to center/resize all windows