mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-09 12:22:51 +00:00
BLADERUNNER: Fix slider artifacts in Android port
Alpha was set incorrectly to 0 and previous GLES was visible
This commit is contained in:
parent
4dc9752d2a
commit
e67ec0dbe1
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user