hedgewars/uRenderUtils.pas
changeset 12591 7bae1fab444b
parent 12102 51596d30a724
child 13490 8935dcc0e130
--- a/hedgewars/uRenderUtils.pas	Fri Sep 29 19:31:25 2017 +0200
+++ b/hedgewars/uRenderUtils.pas	Fri Sep 29 22:06:29 2017 +0200
@@ -336,7 +336,7 @@
 
         WriteInRoundRect(finalSurface, 0, 0, Color, font, s, maxLength);
 
-        checkFails(SDL_SetColorKey(finalSurface, SDL_SRCCOLORKEY, 0) = 0, errmsgTransparentSet, false);
+        checkFails(SDL_SetColorKey(finalSurface, SDL_TRUE, 0) = 0, errmsgTransparentSet, false);
 
         RenderStringTexLim:= Surface2Tex(finalSurface, false);