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/mobileopengl2graphics.cpp | |
parent | f0f4f43d1263f946be23b75de4de28a4731cc93a (diff) | |
download | manaplus-ce28ac8bfcea7ea926fa132a23f7814682dca0dc.tar.gz manaplus-ce28ac8bfcea7ea926fa132a23f7814682dca0dc.tar.bz2 manaplus-ce28ac8bfcea7ea926fa132a23f7814682dca0dc.tar.xz manaplus-ce28ac8bfcea7ea926fa132a23f7814682dca0dc.zip |
Add restrict keyword in openglgraphicsdef.hpp
Diffstat (limited to 'src/render/mobileopengl2graphics.cpp')
-rw-r--r-- | src/render/mobileopengl2graphics.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/render/mobileopengl2graphics.cpp b/src/render/mobileopengl2graphics.cpp index 41e49b497..cd9686149 100644 --- a/src/render/mobileopengl2graphics.cpp +++ b/src/render/mobileopengl2graphics.cpp @@ -211,7 +211,7 @@ void MobileOpenGL2Graphics::screenResized() postInit(); } -void MobileOpenGL2Graphics::deleteArrays() +void MobileOpenGL2Graphics::deleteArrays() restrict2 { deleteArraysInternal(); } @@ -251,7 +251,7 @@ void MobileOpenGL2Graphics::setColor(const Color &color) } } -void MobileOpenGL2Graphics::setColorAlpha(const float alpha) +void MobileOpenGL2Graphics::setColorAlpha(const float alpha) restrict2 { if (mAlphaCached != alpha) { @@ -994,7 +994,7 @@ void MobileOpenGL2Graphics::fillRectangle(const Rect &restrict rect) restrict2 mglDrawArrays(GL_TRIANGLE_STRIP, 0, 4); } -void MobileOpenGL2Graphics::setTexturingAndBlending(const bool enable) +void MobileOpenGL2Graphics::setTexturingAndBlending(const bool enable) restrict2 { if (enable) { @@ -1211,7 +1211,7 @@ void MobileOpenGL2Graphics::calcImageRect(ImageVertexes *restrict const vert, #include "render/graphics_calcImageRect.hpp" } -void MobileOpenGL2Graphics::clearScreen() const +void MobileOpenGL2Graphics::clearScreen() const restrict2 { mglClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT | |