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:
Eugene Sandulenko 2016-07-05 19:23:04 +02:00
parent c805b933d2
commit 0854dbd68c

View File

@ -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;
}