summaryrefslogtreecommitdiff
path: root/src/render/modernopenglgraphics.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/modernopenglgraphics.cpp')
-rw-r--r--src/render/modernopenglgraphics.cpp2
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)