summaryrefslogtreecommitdiff
path: root/src/graphics.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-12-06 22:05:56 +0300
committerAndrei Karas <akaras@inbox.ru>2012-12-06 22:05:56 +0300
commit3a9398d853caf39778771d4916b0781a8597db42 (patch)
treec1f9982355a505963cf7e011a8e1f374dc88fbfa /src/graphics.cpp
parentad02b24b25f565a274ff8ec8408acefc1c232e12 (diff)
downloadmanaplus-3a9398d853caf39778771d4916b0781a8597db42.tar.gz
manaplus-3a9398d853caf39778771d4916b0781a8597db42.tar.bz2
manaplus-3a9398d853caf39778771d4916b0781a8597db42.tar.xz
manaplus-3a9398d853caf39778771d4916b0781a8597db42.zip
Fix compilation warnings.
Diffstat (limited to 'src/graphics.cpp')
-rw-r--r--src/graphics.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/graphics.cpp b/src/graphics.cpp
index d22975db9..2086981de 100644
--- a/src/graphics.cpp
+++ b/src/graphics.cpp
@@ -1135,7 +1135,7 @@ void Graphics::fillRectangle(const gcn::Rectangle& rectangle)
const unsigned rMask = format->Rmask;
const unsigned gMask = format->Gmask;
const unsigned bMask = format->Bmask;
- const unsigned aMask = format->Amask;
+// const unsigned aMask = format->Amask;
unsigned rShift = rMask / 0xff;
unsigned gShift = gMask / 0xff;
unsigned bShift = bMask / 0xff;