diff options
Diffstat (limited to 'backends/graphics/sdl')
-rw-r--r-- | backends/graphics/sdl/sdl-graphics.cpp | 2 | ||||
-rw-r--r-- | backends/graphics/sdl/sdl-graphics.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/backends/graphics/sdl/sdl-graphics.cpp b/backends/graphics/sdl/sdl-graphics.cpp index 453c60c66f..0d310a4174 100644 --- a/backends/graphics/sdl/sdl-graphics.cpp +++ b/backends/graphics/sdl/sdl-graphics.cpp @@ -230,7 +230,7 @@ void SdlGraphicsManager::setSystemMousePosition(const int x, const int y) { } } -void SdlGraphicsManager::handleResizeImpl(const int width, const int height) { +void SdlGraphicsManager::handleResizeImpl(const int width, const int height, const int xdpi, const int ydpi) { _eventSource->resetKeyboardEmulation(width - 1, height - 1); _forceRedraw = true; } diff --git a/backends/graphics/sdl/sdl-graphics.h b/backends/graphics/sdl/sdl-graphics.h index 77c8d5d528..d67557be2b 100644 --- a/backends/graphics/sdl/sdl-graphics.h +++ b/backends/graphics/sdl/sdl-graphics.h @@ -163,7 +163,7 @@ protected: virtual void setSystemMousePosition(const int x, const int y) override; - virtual void handleResizeImpl(const int width, const int height) override; + virtual void handleResizeImpl(const int width, const int height, const int xdpi, const int ydpi) override; #if SDL_VERSION_ATLEAST(2, 0, 0) public: |