hedgewars/uStore.pas
changeset 13494 8935dcc0e130
parent 13489 480ea997036b
child 13504 c41b16ac2e05
--- a/hedgewars/uStore.pas	Mon Jul 16 04:50:23 2018 +0200
+++ b/hedgewars/uStore.pas	Mon Jul 16 19:15:22 2018 +0200
@@ -975,7 +975,7 @@
 r.y:= cFontBorder + 4;
 r.w:= 32;
 r.h:= 32;
-SDL_FillRect(tmpsurf, @r, $ff000000);
+SDL_FillRect(tmpsurf, @r, SDL_MapRGB(tmpsurf^.format, 0, 0, 0));
 SDL_UpperBlit(iconsurf, iconrect, tmpsurf, @r);
 
 RenderHelpWindow:=  Surface2Tex(tmpsurf, true);