diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-12-25 03:27:23 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-12-25 03:27:23 +0300 |
commit | c456cb3f7eea27839c4b2689d77ddc09926fb8c6 (patch) | |
tree | 4e6025377c38bccaad05881b3f9257e7fe9e1226 /src/render/sdl2softwaregraphics.cpp | |
parent | 953949fa4a61b2c9c4e53ccea2c2f7b28f79e62d (diff) | |
download | plus-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.cpp | 3 |
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); |