mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-16 06:39:17 +00:00
Revert "GRAPHICS: Fix GUI transparency. As pointed by blitter on IRC"
This reverts commit 1d3d6c8692
.
As it was pointed by wjp, this fully ignores the alphamask.
This commit is contained in:
parent
c805b933d2
commit
0854dbd68c
@ -603,8 +603,9 @@ applyScreenShading(GUI::ThemeEngine::ShadingStyle shadingStyle) {
|
||||
|
||||
if (shadingStyle == GUI::ThemeEngine::kShadingDim) {
|
||||
|
||||
// TODO: Check how this interacts with kFeatureOverlaySupportsAlpha
|
||||
for (int i = 0; i < pixels; ++i) {
|
||||
*ptr = (((*ptr | _alphaMask) & colorMask) >> 1);
|
||||
*ptr = ((*ptr & colorMask) >> 1) | _alphaMask;
|
||||
++ptr;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user