summaryrefslogtreecommitdiff
path: root/src/render/sdl2softwaregraphics.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-12-25 03:27:23 +0300
committerAndrei Karas <akaras@inbox.ru>2015-12-25 03:27:23 +0300
commitc456cb3f7eea27839c4b2689d77ddc09926fb8c6 (patch)
tree4e6025377c38bccaad05881b3f9257e7fe9e1226 /src/render/sdl2softwaregraphics.cpp
parent953949fa4a61b2c9c4e53ccea2c2f7b28f79e62d (diff)
downloadplus-c456cb3f7eea27839c4b2689d77ddc09926fb8c6.tar.gz
plus-c456cb3f7eea27839c4b2689d77ddc09926fb8c6.tar.bz2
plus-c456cb3f7eea27839c4b2689d77ddc09926fb8c6.tar.xz
plus-c456cb3f7eea27839c4b2689d77ddc09926fb8c6.zip
Add restrict to all methods in graphics.
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);