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.h | |
parent | 953949fa4a61b2c9c4e53ccea2c2f7b28f79e62d (diff) | |
download | mv-c456cb3f7eea27839c4b2689d77ddc09926fb8c6.tar.gz mv-c456cb3f7eea27839c4b2689d77ddc09926fb8c6.tar.bz2 mv-c456cb3f7eea27839c4b2689d77ddc09926fb8c6.tar.xz mv-c456cb3f7eea27839c4b2689d77ddc09926fb8c6.zip |
Add restrict to all methods in graphics.
Diffstat (limited to 'src/render/sdl2softwaregraphics.h')
-rw-r--r-- | src/render/sdl2softwaregraphics.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/render/sdl2softwaregraphics.h b/src/render/sdl2softwaregraphics.h index 81d92e474..633a7a6e4 100644 --- a/src/render/sdl2softwaregraphics.h +++ b/src/render/sdl2softwaregraphics.h @@ -63,7 +63,8 @@ class SDL2SoftwareGraphics final : public Graphics #include "render/softwaregraphicsdef.hpp" - bool resizeScreen(const int width, const int height) override final; + bool resizeScreen(const int width, + const int height) restrict2 override final; protected: int SDL_FakeUpperBlit(const SDL_Surface *const src, |