Skip to content

Commit

Permalink
Revert "GRAPHICS: Fix GUI transparency. As pointed by blitter on IRC"
Browse files Browse the repository at this point in the history
This reverts commit 1d3d6c8.

As it was pointed by wjp, this fully ignores the alphamask.
  • Loading branch information
sev- committed Jul 5, 2016
1 parent c805b93 commit 0854dbd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion graphics/VectorRendererSpec.cpp
Expand Up @@ -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;
}

Expand Down

0 comments on commit 0854dbd

Please sign in to comment.