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/modernopenglgraphics.cpp | |
parent | 953949fa4a61b2c9c4e53ccea2c2f7b28f79e62d (diff) | |
download | manaplus-c456cb3f7eea27839c4b2689d77ddc09926fb8c6.tar.gz manaplus-c456cb3f7eea27839c4b2689d77ddc09926fb8c6.tar.bz2 manaplus-c456cb3f7eea27839c4b2689d77ddc09926fb8c6.tar.xz manaplus-c456cb3f7eea27839c4b2689d77ddc09926fb8c6.zip |
Add restrict to all methods in graphics.
Diffstat (limited to 'src/render/modernopenglgraphics.cpp')
-rw-r--r-- | src/render/modernopenglgraphics.cpp | 2 |
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); |