summaryrefslogtreecommitdiff
path: root/src/render/openglgraphicsdef1.hpp
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/openglgraphicsdef1.hpp
parentce28ac8bfcea7ea926fa132a23f7814682dca0dc (diff)
downloadmv-f04697ea8be041a86877f6bc41958a3ceb3ded41.tar.gz
mv-f04697ea8be041a86877f6bc41958a3ceb3ded41.tar.bz2
mv-f04697ea8be041a86877f6bc41958a3ceb3ded41.tar.xz
mv-f04697ea8be041a86877f6bc41958a3ceb3ded41.zip
Add restrict keyword in openglgraphicsdef1.hpp
Diffstat (limited to 'src/render/openglgraphicsdef1.hpp')
-rw-r--r--src/render/openglgraphicsdef1.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/openglgraphicsdef1.hpp b/src/render/openglgraphicsdef1.hpp
index 0a1ed7ba2..a8088faf6 100644
--- a/src/render/openglgraphicsdef1.hpp
+++ b/src/render/openglgraphicsdef1.hpp
@@ -21,7 +21,7 @@
*/
public:
- void setColor(const Color &color) override final
+ void setColor(const Color &restrict color) override final
{
mColor = color;
mColorAlpha = (color.a != 255);