summaryrefslogtreecommitdiff
path: root/src/render/graphics.h
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/graphics.h
parente3682e2cdcb59c36792f6f9c39569e0af01088f0 (diff)
downloadmanaverse-a603cf32c1491e1a943d77b76e0f2362babcd7b8.tar.gz
manaverse-a603cf32c1491e1a943d77b76e0f2362babcd7b8.tar.bz2
manaverse-a603cf32c1491e1a943d77b76e0f2362babcd7b8.tar.xz
manaverse-a603cf32c1491e1a943d77b76e0f2362babcd7b8.zip
Remove color2 from graphics.
Diffstat (limited to 'src/render/graphics.h')
-rw-r--r--src/render/graphics.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/render/graphics.h b/src/render/graphics.h
index d6860d621..d6f74d854 100644
--- a/src/render/graphics.h
+++ b/src/render/graphics.h
@@ -303,27 +303,12 @@ class Graphics notfinal
virtual void setColor(const Color &color)
{
mColor = color;
- mColor2 = color;
- mAlpha = (color.a != 255);
- }
-
- void setColor2(const Color &color)
- { mColor2 = color; }
-
- virtual void setColorAll(const Color &color,
- const Color &color2)
- {
- mColor = color;
- mColor2 = color2;
mAlpha = (color.a != 255);
}
const Color &getColor() const
{ return mColor; }
- const Color &getColor2() const
- { return mColor2; }
-
#ifdef DEBUG_DRAW_CALLS
virtual unsigned int getDrawCalls() const
{ return 0; }
@@ -536,7 +521,6 @@ class Graphics notfinal
bool mSync;
int mScale;
Color mColor;
- Color mColor2;
};
extern Graphics *mainGraphics;