summaryrefslogtreecommitdiff
path: root/src/render/sdl2softwaregraphics.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/sdl2softwaregraphics.cpp')
-rw-r--r--src/render/sdl2softwaregraphics.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/render/sdl2softwaregraphics.cpp b/src/render/sdl2softwaregraphics.cpp
index 8e777fb15..4b8c9a469 100644
--- a/src/render/sdl2softwaregraphics.cpp
+++ b/src/render/sdl2softwaregraphics.cpp
@@ -1479,7 +1479,8 @@ bool SDL2SoftwareGraphics::setVideoMode(const int w, const int h,
return videoInfo();
}
-bool SDL2SoftwareGraphics::resizeScreen(const int width, const int height)
+bool SDL2SoftwareGraphics::resizeScreen(const int width,
+ const int height) restrict2
{
const bool ret = Graphics::resizeScreen(width, height);