From f04697ea8be041a86877f6bc41958a3ceb3ded41 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 25 Dec 2015 01:24:51 +0300 Subject: Add restrict keyword in openglgraphicsdef1.hpp --- src/render/modernopenglgraphics.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/render/modernopenglgraphics.cpp') 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) -- cgit v1.2.3-60-g2f50