summaryrefslogtreecommitdiff
path: root/src/render/mobileopengl2graphics.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-12-25 01:24:51 +0300
committerAndrei Karas <akaras@inbox.ru>2015-12-25 01:24:51 +0300
commitf04697ea8be041a86877f6bc41958a3ceb3ded41 (patch)
tree9f154952cddd102aa5949b37441ce1c1874622e9 /src/render/mobileopengl2graphics.cpp
parentce28ac8bfcea7ea926fa132a23f7814682dca0dc (diff)
downloadplus-f04697ea8be041a86877f6bc41958a3ceb3ded41.tar.gz
plus-f04697ea8be041a86877f6bc41958a3ceb3ded41.tar.bz2
plus-f04697ea8be041a86877f6bc41958a3ceb3ded41.tar.xz
plus-f04697ea8be041a86877f6bc41958a3ceb3ded41.zip
Add restrict keyword in openglgraphicsdef1.hpp
Diffstat (limited to 'src/render/mobileopengl2graphics.cpp')
-rw-r--r--src/render/mobileopengl2graphics.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/mobileopengl2graphics.cpp b/src/render/mobileopengl2graphics.cpp
index cd9686149..5e05540ad 100644
--- a/src/render/mobileopengl2graphics.cpp
+++ b/src/render/mobileopengl2graphics.cpp
@@ -237,7 +237,7 @@ bool MobileOpenGL2Graphics::setVideoMode(const int w, const int h,
return setOpenGLMode();
}
-void MobileOpenGL2Graphics::setColor(const Color &color)
+void MobileOpenGL2Graphics::setColor(const Color &restrict color) restrict2
{
mColorAlpha = (color.a != 255);
if (mColor != color)