diff options
Diffstat (limited to 'src/openglgraphics.cpp')
-rw-r--r-- | src/openglgraphics.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/openglgraphics.cpp b/src/openglgraphics.cpp index 1e8918cb..dc14b6c6 100644 --- a/src/openglgraphics.cpp +++ b/src/openglgraphics.cpp @@ -96,7 +96,7 @@ bool OpenGLGraphics::drawImage(Image *image, int srcX, int srcY, drawTexedQuad(dstX, dstY, width, height, texX1, texY1, texX2, texY2); - glColor4f(1.0f, 1.0f, 1.0f, 1.0f); + glColor4ub(mColor.r, mColor.g, mColor.b, mColor.a); return true; } |