--- a/hedgewars/uWorld.pas Fri Nov 13 23:04:23 2009 +0000
+++ b/hedgewars/uWorld.pas Sat Nov 14 02:53:04 2009 +0000
@@ -573,7 +573,8 @@
CountTicks:= 0;
s:= inttostr(FPS) + ' fps';
if fpsTexture <> nil then FreeTexture(fpsTexture);
- tmpSurface:= TTF_RenderUTF8_Blended(Fontz[fnt16].Handle, Str2PChar(s), $FFFFFF);
+ tmpSurface:= TTF_RenderUTF8_Blended(Fontz[fnt16].Handle, Str2PChar(s), cWhiteColor);
+ tmpSurface:= doSurfaceConversion(tmpSurface);
fpsTexture:= Surface2Tex(tmpSurface, false);
SDL_FreeSurface(tmpSurface)
end;
@@ -588,7 +589,7 @@
if cVolumeDelta <> 0 then
begin
str(ChangeVolume(cVolumeDelta), s);
- AddCaption(Format(trmsg[sidVolume], s), $FFFFFF, capgrpVolume)
+ AddCaption(Format(trmsg[sidVolume], s), cWhiteColor, capgrpVolume)
end
end;