From 53db1412f7d6e29e9e1cfdb272a40ebb30ba1fe6 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 26 Dec 2012 17:00:20 +0300 Subject: Move setColor in graphics classes from cpp to h. --- src/normalopenglgraphics.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/normalopenglgraphics.cpp') diff --git a/src/normalopenglgraphics.cpp b/src/normalopenglgraphics.cpp index 00db5c647..e263631b9 100644 --- a/src/normalopenglgraphics.cpp +++ b/src/normalopenglgraphics.cpp @@ -1175,12 +1175,6 @@ void NormalOpenGLGraphics::popClipArea() clipArea.width, clipArea.height); } -void NormalOpenGLGraphics::setColor(const gcn::Color& color) -{ - mColor = color; - mColorAlpha = (color.a != 255); -} - void NormalOpenGLGraphics::drawPoint(int x, int y) { setTexturingAndBlending(false); -- cgit v1.2.3-70-g09d2