diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-12-25 01:14:37 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-12-25 01:14:37 +0300 |
commit | ce28ac8bfcea7ea926fa132a23f7814682dca0dc (patch) | |
tree | d4edf63b01bb9e80638be2caa7d596e17a17a248 /src/render/modernopenglgraphics.cpp | |
parent | f0f4f43d1263f946be23b75de4de28a4731cc93a (diff) | |
download | manaverse-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/modernopenglgraphics.cpp')
-rw-r--r-- | src/render/modernopenglgraphics.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/render/modernopenglgraphics.cpp b/src/render/modernopenglgraphics.cpp index cb24eb887..3872a8af9 100644 --- a/src/render/modernopenglgraphics.cpp +++ b/src/render/modernopenglgraphics.cpp @@ -211,7 +211,7 @@ void ModernOpenGLGraphics::screenResized() postInit(); } -void ModernOpenGLGraphics::deleteArrays() +void ModernOpenGLGraphics::deleteArrays() restrict2 { deleteArraysInternal(); } @@ -251,7 +251,7 @@ void ModernOpenGLGraphics::setColor(const Color &color) } } -void ModernOpenGLGraphics::setColorAlpha(const float alpha) +void ModernOpenGLGraphics::setColorAlpha(const float alpha) restrict2 { if (mAlphaCached != alpha) { @@ -980,7 +980,7 @@ void ModernOpenGLGraphics::fillRectangle(const Rect &restrict rect) restrict2 mglDrawArrays(GL_TRIANGLE_STRIP, 0, 4); } -void ModernOpenGLGraphics::setTexturingAndBlending(const bool enable) +void ModernOpenGLGraphics::setTexturingAndBlending(const bool enable) restrict2 { if (enable) { @@ -1208,7 +1208,7 @@ void ModernOpenGLGraphics::calcImageRect(ImageVertexes *restrict const vert, #include "render/graphics_calcImageRect.hpp" } -void ModernOpenGLGraphics::clearScreen() const +void ModernOpenGLGraphics::clearScreen() const restrict2 { mglClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT | |