diff options
author | Tobia Tesan | 2013-07-08 15:39:23 +0200 |
---|---|---|
committer | Tobia Tesan | 2013-08-01 00:03:43 +0200 |
commit | 0b21d6dca2ad5be41fa2aa4c2bed2cb694fba4d1 (patch) | |
tree | 3f02535901008989b9d3158a2cb5e48319238733 /engines | |
parent | 8bed134ad6a155ec6b35e3cba4a212e016bf3c90 (diff) | |
download | scummvm-rg350-0b21d6dca2ad5be41fa2aa4c2bed2cb694fba4d1.tar.gz scummvm-rg350-0b21d6dca2ad5be41fa2aa4c2bed2cb694fba4d1.tar.bz2 scummvm-rg350-0b21d6dca2ad5be41fa2aa4c2bed2cb694fba4d1.zip |
WINTERMUTE: Fix alpha bug in engines/wintermute/base/gfx/osystem/base_surface_osystem.cpp
This fixes the "TV static" bug in J.U.L.I.A.
Diffstat (limited to 'engines')
-rw-r--r-- | engines/wintermute/base/gfx/osystem/base_surface_osystem.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/wintermute/base/gfx/osystem/base_surface_osystem.cpp b/engines/wintermute/base/gfx/osystem/base_surface_osystem.cpp index e1348726b4..adbef559df 100644 --- a/engines/wintermute/base/gfx/osystem/base_surface_osystem.cpp +++ b/engines/wintermute/base/gfx/osystem/base_surface_osystem.cpp @@ -328,7 +328,7 @@ bool BaseSurfaceOSystem::display(int x, int y, Rect32 rect, TSpriteBlendMode ble ////////////////////////////////////////////////////////////////////////// bool BaseSurfaceOSystem::displayTrans(int x, int y, Rect32 rect, uint32 alpha, TSpriteBlendMode blendMode, bool mirrorX, bool mirrorY) { _rotation = 0; - return drawSprite(x, y, &rect, nullptr, TransformStruct(100, blendMode, 0xFFFFFFFF, mirrorX, mirrorY)); + return drawSprite(x, y, &rect, nullptr, TransformStruct(100, blendMode, alpha, mirrorX, mirrorY)); } ////////////////////////////////////////////////////////////////////////// |