diff options
Diffstat (limited to 'src/render/sdl2graphics.cpp')
-rw-r--r-- | src/render/sdl2graphics.cpp | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/src/render/sdl2graphics.cpp b/src/render/sdl2graphics.cpp index a8b5515c4..baa69ca69 100644 --- a/src/render/sdl2graphics.cpp +++ b/src/render/sdl2graphics.cpp @@ -740,9 +740,17 @@ bool SDLGraphics::setVideoMode(const int w, const int h, const bool fs, const bool hwaccel, const bool resize, - const bool noFrame) restrict2 -{ - setMainFlags(w, h, scale, bpp, fs, hwaccel, resize, noFrame); + const bool noFrame, + const bool allowHighDPI) restrict2 +{ + setMainFlags(w, h, + scale, + bpp, + fs, + hwaccel, + resize, + noFrame, + allowHighDPI); if (!(mWindow = graphicsManager.createWindow(w, h, bpp, getSoftwareFlags()))) |