diff --git a/source/engine.cpp b/source/engine.cpp index efa726d..8414302 100644 --- a/source/engine.cpp +++ b/source/engine.cpp @@ -954,7 +954,7 @@ void Engine::toggleIntegerScaling() { break; } - SDL_SetRenderLogicalPresentation(renderer_, SCREEN_WIDTH, SCREEN_HEIGHT, presentation); + SDL_SetRenderLogicalPresentation(renderer_, current_screen_width_, current_screen_height_, presentation); // Mostrar texto informativo text_ = "SCALING: ";