summaryrefslogtreecommitdiff
path: root/src/render/openglgraphicsdef1.hpp
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/openglgraphicsdef1.hpp
parente3682e2cdcb59c36792f6f9c39569e0af01088f0 (diff)
downloadplus-a603cf32c1491e1a943d77b76e0f2362babcd7b8.tar.gz
plus-a603cf32c1491e1a943d77b76e0f2362babcd7b8.tar.bz2
plus-a603cf32c1491e1a943d77b76e0f2362babcd7b8.tar.xz
plus-a603cf32c1491e1a943d77b76e0f2362babcd7b8.zip
Remove color2 from graphics.
Diffstat (limited to 'src/render/openglgraphicsdef1.hpp')
-rw-r--r--src/render/openglgraphicsdef1.hpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/render/openglgraphicsdef1.hpp b/src/render/openglgraphicsdef1.hpp
index 368f09f49..0a1ed7ba2 100644
--- a/src/render/openglgraphicsdef1.hpp
+++ b/src/render/openglgraphicsdef1.hpp
@@ -24,14 +24,5 @@ public:
void setColor(const Color &color) override final
{
mColor = color;
- mColor2 = color;
- mColorAlpha = (color.a != 255);
- }
-
- void setColorAll(const Color &color,
- const Color &color2) override final
- {
- mColor = color;
- mColor2 = color2;
mColorAlpha = (color.a != 255);
}