summaryrefslogtreecommitdiff
path: root/src/render/surfacegraphics.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-12-25 01:14:37 +0300
committerAndrei Karas <akaras@inbox.ru>2015-12-25 01:14:37 +0300
commitce28ac8bfcea7ea926fa132a23f7814682dca0dc (patch)
treed4edf63b01bb9e80638be2caa7d596e17a17a248 /src/render/surfacegraphics.h
parentf0f4f43d1263f946be23b75de4de28a4731cc93a (diff)
downloadmanaverse-ce28ac8bfcea7ea926fa132a23f7814682dca0dc.tar.gz
manaverse-ce28ac8bfcea7ea926fa132a23f7814682dca0dc.tar.bz2
manaverse-ce28ac8bfcea7ea926fa132a23f7814682dca0dc.tar.xz
manaverse-ce28ac8bfcea7ea926fa132a23f7814682dca0dc.zip
Add restrict keyword in openglgraphicsdef.hpp
Diffstat (limited to 'src/render/surfacegraphics.h')
-rw-r--r--src/render/surfacegraphics.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/surfacegraphics.h b/src/render/surfacegraphics.h
index 6c821ebfd..8f9bcba99 100644
--- a/src/render/surfacegraphics.h
+++ b/src/render/surfacegraphics.h
@@ -154,7 +154,7 @@ class SurfaceGraphics final : public Graphics
void fillRectangle(const Rect &rect A_UNUSED) override final
{ }
- void drawRectangle(const Rect &rect A_UNUSED) override final
+ void drawRectangle(const Rect &rect A_UNUSED) restrict2 override final
{ }
void drawPoint(int x A_UNUSED, int y A_UNUSED) override final