diff --git a/source/Game.cpp b/source/Game.cpp index 2a3f9e9..dcb271d 100644 --- a/source/Game.cpp +++ b/source/Game.cpp @@ -32,7 +32,9 @@ Game::~Game() void Game::run() { - m_graphics->init(); + if (!m_graphics->init()) { + return; + } init();