summaryrefslogtreecommitdiff
path: root/src/render/modernopenglgraphics.cpp
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.cpp
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/modernopenglgraphics.cpp')
-rw-r--r--src/render/modernopenglgraphics.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/modernopenglgraphics.cpp b/src/render/modernopenglgraphics.cpp
index 206755dd0..5fc6f27ac 100644
--- a/src/render/modernopenglgraphics.cpp
+++ b/src/render/modernopenglgraphics.cpp
@@ -1216,7 +1216,7 @@ void ModernOpenGLGraphics::clearScreen() const restrict2
GL_STENCIL_BUFFER_BIT);
}
-void ModernOpenGLGraphics::createGLContext()
+void ModernOpenGLGraphics::createGLContext() restrict2
{
if (mGLContext)
SDL::makeCurrentContext(mGLContext);