diff options
author | Peter Kohaut | 2019-07-12 21:55:37 +0200 |
---|---|---|
committer | Peter Kohaut | 2019-07-12 21:57:00 +0200 |
commit | e67ec0dbe1c6ae0aca9715cd295d5217ce8e89f6 (patch) | |
tree | fd67de03b6e02270c00c02ae1bb3507138b11db9 /engines | |
parent | 4dc9752d2ae8761c74cc5e68d5796e0975431a82 (diff) | |
download | scummvm-rg350-e67ec0dbe1c6ae0aca9715cd295d5217ce8e89f6.tar.gz scummvm-rg350-e67ec0dbe1c6ae0aca9715cd295d5217ce8e89f6.tar.bz2 scummvm-rg350-e67ec0dbe1c6ae0aca9715cd295d5217ce8e89f6.zip |
BLADERUNNER: Fix slider artifacts in Android port
Alpha was set incorrectly to 0 and previous GLES was visible
Diffstat (limited to 'engines')
-rw-r--r-- | engines/bladerunner/ui/ui_slider.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/bladerunner/ui/ui_slider.cpp b/engines/bladerunner/ui/ui_slider.cpp index c1a5d0ab2d..7a8857582f 100644 --- a/engines/bladerunner/ui/ui_slider.cpp +++ b/engines/bladerunner/ui/ui_slider.cpp @@ -117,7 +117,7 @@ void UISlider::draw(Graphics::Surface &surface) { uint16 color = surface.format.RGBToColor(kColors[colorIndex].r, kColors[colorIndex].g, kColors[colorIndex].b); if ((striding + x) & 1 || x == sliderX) { - color = 0; + color = surface.format.RGBToColor(0, 0, 0); } surface.vLine(x, _rect.top + 1, _rect.bottom - 2, color); |