summaryrefslogtreecommitdiff
path: root/src/render/sdl2softwaregraphics.h
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.h
parent953949fa4a61b2c9c4e53ccea2c2f7b28f79e62d (diff)
downloadManaVerse-c456cb3f7eea27839c4b2689d77ddc09926fb8c6.tar.gz
ManaVerse-c456cb3f7eea27839c4b2689d77ddc09926fb8c6.tar.bz2
ManaVerse-c456cb3f7eea27839c4b2689d77ddc09926fb8c6.tar.xz
ManaVerse-c456cb3f7eea27839c4b2689d77ddc09926fb8c6.zip
Add restrict to all methods in graphics.
Diffstat (limited to 'src/render/sdl2softwaregraphics.h')
-rw-r--r--src/render/sdl2softwaregraphics.h3
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,