mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-28 10:02:43 +01:00
a1d9976b46
Signed-off-by: B. Watson <yalhcru@gmail.com>
16 lines
544 B
Diff
16 lines
544 B
Diff
diff --git a/src/engine/keen/galaxy/CPassive.cpp b/src/engine/keen/galaxy/CPassive.cpp
|
|
index dfc2dbe..34ccc8c 100755
|
|
--- a/src/engine/keen/galaxy/CPassive.cpp
|
|
+++ b/src/engine/keen/galaxy/CPassive.cpp
|
|
@@ -392,7 +392,11 @@ void CPassiveGalaxy::processTitle()
|
|
darkener.create(0, gameRes.w, gameRes.h, 32,
|
|
0, 0, 0, 0);
|
|
|
|
+
|
|
+#if SDL_VERSION_ATLEAST(2, 0, 0)
|
|
darkener.setBlendMode(SDL_BLENDMODE_BLEND);
|
|
+#endif
|
|
+
|
|
darkener.setAlpha(128);
|
|
|
|
auto *sfc = mBackgroundStarWars.getSDLSurface();
|