diff --git a/source/core/rendering/screen.cpp b/source/core/rendering/screen.cpp index 5e63c6e..31e0176 100644 --- a/source/core/rendering/screen.cpp +++ b/source/core/rendering/screen.cpp @@ -348,9 +348,6 @@ void Screen::renderInfo() { // FPS const std::string FPS_TEXT = std::to_string(fps_.last_value) + " FPS"; text->writeColored(Options::game.width - text->length(FPS_TEXT), 0, FPS_TEXT, color); - - // Resolution - text->writeColored(0, 0, info_resolution_, color); } } diff --git a/source/game/scenes/game.cpp b/source/game/scenes/game.cpp index 45496d3..e48e5b0 100644 --- a/source/game/scenes/game.cpp +++ b/source/game/scenes/game.cpp @@ -462,6 +462,10 @@ void Game::handleDebugEvents(const SDL_Event& event) { Notifier::get()->show({"ACHIEVEMENT UNLOCKED!", "I LIKE MY MULTICOLOURED FRIENDS"}, Notifier::Style::CHEEVO, -1, false, "F7"); break; + case SDLK_0: + Screen::get()->toggleDebugInfo(); + break; + default: break; }