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/mobileopenglgraphics.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/mobileopenglgraphics.cpp')
-rw-r--r-- | src/render/mobileopenglgraphics.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/render/mobileopenglgraphics.cpp b/src/render/mobileopenglgraphics.cpp index 8c1c07c0f..a875befc9 100644 --- a/src/render/mobileopenglgraphics.cpp +++ b/src/render/mobileopenglgraphics.cpp @@ -127,7 +127,7 @@ void MobileOpenGLGraphics::initArrays(const int vertCount) mShortVertArrayCached = new GLshort[sz]; } -void MobileOpenGLGraphics::deleteArrays() +void MobileOpenGLGraphics::deleteArrays() restrict2 { deleteArraysInternal(); } @@ -1051,7 +1051,7 @@ void MobileOpenGLGraphics::fillRectangle(const Rect &restrict rect) restrict2 drawRectangle(rect, true); } -void MobileOpenGLGraphics::setTexturingAndBlending(const bool enable) +void MobileOpenGLGraphics::setTexturingAndBlending(const bool enable) restrict2 { if (enable) { @@ -1270,7 +1270,7 @@ void MobileOpenGLGraphics::dumpSettings() } } -void MobileOpenGLGraphics::setColorAlpha(const float alpha) +void MobileOpenGLGraphics::setColorAlpha(const float alpha) restrict2 { if (!mIsByteColor && mFloatColor == alpha) return; @@ -1280,7 +1280,7 @@ void MobileOpenGLGraphics::setColorAlpha(const float alpha) mFloatColor = alpha; } -void MobileOpenGLGraphics::restoreColor() +void MobileOpenGLGraphics::restoreColor() restrict2 { if (mIsByteColor && mByteColor == mColor) return; @@ -1310,7 +1310,7 @@ void MobileOpenGLGraphics::calcImageRect(ImageVertexes *restrict const vert, #include "render/graphics_calcImageRect.hpp" } -void MobileOpenGLGraphics::clearScreen() const +void MobileOpenGLGraphics::clearScreen() const restrict2 { mglClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT | |