diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-12-26 17:00:20 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-12-27 23:15:04 +0300 |
commit | 53db1412f7d6e29e9e1cfdb272a40ebb30ba1fe6 (patch) | |
tree | aaeb9cb039c8a992d5b82361279f17d7518ad3c3 /src/safeopenglgraphics.cpp | |
parent | c8465553c8a3d86dc1dda153e94f40331aa687d1 (diff) | |
download | manaplus-53db1412f7d6e29e9e1cfdb272a40ebb30ba1fe6.tar.gz manaplus-53db1412f7d6e29e9e1cfdb272a40ebb30ba1fe6.tar.bz2 manaplus-53db1412f7d6e29e9e1cfdb272a40ebb30ba1fe6.tar.xz manaplus-53db1412f7d6e29e9e1cfdb272a40ebb30ba1fe6.zip |
Move setColor in graphics classes from cpp to h.
Diffstat (limited to 'src/safeopenglgraphics.cpp')
-rw-r--r-- | src/safeopenglgraphics.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/safeopenglgraphics.cpp b/src/safeopenglgraphics.cpp index 076edbfbb..d65bd4fec 100644 --- a/src/safeopenglgraphics.cpp +++ b/src/safeopenglgraphics.cpp @@ -482,12 +482,6 @@ void SafeOpenGLGraphics::popClipArea() clipArea.width, clipArea.height); } -void SafeOpenGLGraphics::setColor(const gcn::Color& color) -{ - mColor = color; - mColorAlpha = (color.a != 255); -} - void SafeOpenGLGraphics::drawPoint(int x, int y) { setTexturingAndBlending(false); |