summaryrefslogtreecommitdiff
path: root/src/render/modernopenglgraphics.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/modernopenglgraphics.h
parent953949fa4a61b2c9c4e53ccea2c2f7b28f79e62d (diff)
downloadmv-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/modernopenglgraphics.h')
-rw-r--r--src/render/modernopenglgraphics.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/modernopenglgraphics.h b/src/render/modernopenglgraphics.h
index 1e5f00d1a..d4a0516b7 100644
--- a/src/render/modernopenglgraphics.h
+++ b/src/render/modernopenglgraphics.h
@@ -71,7 +71,7 @@ class ModernOpenGLGraphics final : public Graphics
void removeArray(const uint32_t id,
uint32_t *const arr) override final A_NONNULL(3);
- void createGLContext() override final;
+ void createGLContext() restrict2 override final;
#include "render/graphicsdef.hpp"