summaryrefslogtreecommitdiff
path: root/src/progs
diff options
context:
space:
mode:
Diffstat (limited to 'src/progs')
-rw-r--r--src/progs/dyecmd/gui/viewport.cpp2
-rw-r--r--src/progs/manaplus/gui/viewport.cpp2
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")