summaryrefslogtreecommitdiff
path: root/src/guichan/sdl/sdlgraphics.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/guichan/sdl/sdlgraphics.cpp')
-rw-r--r--src/guichan/sdl/sdlgraphics.cpp5
1 files changed, 1 insertions, 4 deletions
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