diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-12-23 23:03:27 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-12-23 23:03:27 +0300 |
commit | 49fff1aed195d44871caeeff063b1b8c76628e02 (patch) | |
tree | 5a2d8a617c089a1e8b6c50daa05ee32cb7c5ec90 /src/progs | |
parent | 9c9a1a4a4e2af42246f56aa73a5212ece9af9493 (diff) | |
download | mv-49fff1aed195d44871caeeff063b1b8c76628e02.tar.gz mv-49fff1aed195d44871caeeff063b1b8c76628e02.tar.bz2 mv-49fff1aed195d44871caeeff063b1b8c76628e02.tar.xz mv-49fff1aed195d44871caeeff063b1b8c76628e02.zip |
Remove default parameter from color.
Diffstat (limited to 'src/progs')
-rw-r--r-- | src/progs/dyecmd/gui/viewport.cpp | 2 | ||||
-rw-r--r-- | src/progs/manaplus/gui/viewport.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/progs/dyecmd/gui/viewport.cpp b/src/progs/dyecmd/gui/viewport.cpp index 30e89518e..b25ec796e 100644 --- a/src/progs/dyecmd/gui/viewport.cpp +++ b/src/progs/dyecmd/gui/viewport.cpp @@ -94,7 +94,7 @@ void Viewport::draw(Graphics *const graphics) BLOCK_START("Viewport::draw 1") static int lastTick = tick_time; - graphics->setColor(Color(64, 64, 64)); + graphics->setColor(Color(64, 64, 64, 255)); graphics->fillRectangle( Rect(0, 0, getWidth(), getHeight())); diff --git a/src/progs/manaplus/gui/viewport.cpp b/src/progs/manaplus/gui/viewport.cpp index 2ae57f170..a4ca4959b 100644 --- a/src/progs/manaplus/gui/viewport.cpp +++ b/src/progs/manaplus/gui/viewport.cpp @@ -134,7 +134,7 @@ void Viewport::draw(Graphics *const graphics) if ((mMap == nullptr) || (localPlayer == nullptr)) { - graphics->setColor(Color(64, 64, 64)); + graphics->setColor(Color(64, 64, 64, 255)); graphics->fillRectangle( Rect(0, 0, getWidth(), getHeight())); BLOCK_END("Viewport::draw 1") |