summaryrefslogtreecommitdiff
path: root/src/render/modernopenglgraphics.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-25 02:14:18 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-25 02:20:24 +0300
commita603cf32c1491e1a943d77b76e0f2362babcd7b8 (patch)
tree8841385c90b85b84b9589c633f0f569291d6cb1c /src/render/modernopenglgraphics.cpp
parente3682e2cdcb59c36792f6f9c39569e0af01088f0 (diff)
downloadmanaplus-a603cf32c1491e1a943d77b76e0f2362babcd7b8.tar.gz
manaplus-a603cf32c1491e1a943d77b76e0f2362babcd7b8.tar.bz2
manaplus-a603cf32c1491e1a943d77b76e0f2362babcd7b8.tar.xz
manaplus-a603cf32c1491e1a943d77b76e0f2362babcd7b8.zip
Remove color2 from graphics.
Diffstat (limited to 'src/render/modernopenglgraphics.cpp')
-rw-r--r--src/render/modernopenglgraphics.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/render/modernopenglgraphics.cpp b/src/render/modernopenglgraphics.cpp
index 04393eab6..9e0644138 100644
--- a/src/render/modernopenglgraphics.cpp
+++ b/src/render/modernopenglgraphics.cpp
@@ -236,13 +236,6 @@ bool ModernOpenGLGraphics::setVideoMode(const int w, const int h,
void ModernOpenGLGraphics::setColor(const Color &color)
{
- setColorAll(color, color);
-}
-
-void ModernOpenGLGraphics::setColorAll(const Color &color,
- const Color &color2)
-{
- mColor2 = color2;
mColorAlpha = (color.a != 255);
if (mColor != color)
{