[Scummvm-cvs-logs] scummvm master -> 1d3d6c869240ad076631576be081cfadfef34865
sev-
sev at scummvm.org
Tue Jul 5 09:26:52 CEST 2016
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
1d3d6c8692 GRAPHICS: Fix GUI transparency. As pointed by blitter on IRC
Commit: 1d3d6c869240ad076631576be081cfadfef34865
https://github.com/scummvm/scummvm/commit/1d3d6c869240ad076631576be081cfadfef34865
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2016-07-05T09:26:11+02:00
Commit Message:
GRAPHICS: Fix GUI transparency. As pointed by blitter on IRC
Changed paths:
graphics/VectorRendererSpec.cpp
diff --git a/graphics/VectorRendererSpec.cpp b/graphics/VectorRendererSpec.cpp
index 258d935..48ea7dc 100644
--- a/graphics/VectorRendererSpec.cpp
+++ b/graphics/VectorRendererSpec.cpp
@@ -603,9 +603,8 @@ 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 & colorMask) >> 1) | _alphaMask;
+ *ptr = (((*ptr | _alphaMask) & colorMask) >> 1);
++ptr;
}
More information about the Scummvm-git-logs
mailing list