From c8465553c8a3d86dc1dda153e94f40331aa687d1 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 26 Dec 2012 16:40:49 +0300 Subject: Move setColor from guichan to own graphics class. --- src/guichan/sdl/sdlgraphics.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/guichan') diff --git a/src/guichan/sdl/sdlgraphics.cpp b/src/guichan/sdl/sdlgraphics.cpp index eae2bb035..85efd5ef6 100644 --- a/src/guichan/sdl/sdlgraphics.cpp +++ b/src/guichan/sdl/sdlgraphics.cpp @@ -572,11 +572,8 @@ namespace gcn } } - void SDLGraphics::setColor(const Color& color) + void SDLGraphics::setColor(const Color& color A_UNUSED) { - mColor = color; - - mAlpha = color.a != 255; } const Color& SDLGraphics::getColor() const -- cgit v1.2.3-60-g2f50