diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-12-25 01:24:51 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-12-25 01:24:51 +0300 |
commit | f04697ea8be041a86877f6bc41958a3ceb3ded41 (patch) | |
tree | 9f154952cddd102aa5949b37441ce1c1874622e9 /src/render/modernopenglgraphics.cpp | |
parent | ce28ac8bfcea7ea926fa132a23f7814682dca0dc (diff) | |
download | mv-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/modernopenglgraphics.cpp')
-rw-r--r-- | src/render/modernopenglgraphics.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/modernopenglgraphics.cpp b/src/render/modernopenglgraphics.cpp index 3872a8af9..e3c80848d 100644 --- a/src/render/modernopenglgraphics.cpp +++ b/src/render/modernopenglgraphics.cpp @@ -237,7 +237,7 @@ bool ModernOpenGLGraphics::setVideoMode(const int w, const int h, return setOpenGLMode(); } -void ModernOpenGLGraphics::setColor(const Color &color) +void ModernOpenGLGraphics::setColor(const Color &restrict color) restrict2 { mColorAlpha = (color.a != 255); if (mColor != color) |