hedgewars/uWorld.pas
changeset 2665 50b4e544c163
parent 2630 079ef82eac75
child 2670 1b327b7515ed
--- a/hedgewars/uWorld.pas	Fri Dec 18 02:33:45 2009 +0000
+++ b/hedgewars/uWorld.pas	Fri Dec 18 02:47:28 2009 +0000
@@ -575,8 +575,7 @@
       CountTicks:= 0;
       s:= inttostr(FPS) + ' fps';
       if fpsTexture <> nil then FreeTexture(fpsTexture);
-      tmpSurface:= TTF_RenderUTF8_Blended(Fontz[fnt16].Handle, Str2PChar(s), cWhiteColor);
-	tmpSurface:= doSurfaceConversion(tmpSurface);
+      tmpSurface:= TTF_RenderUTF8_Blended(Fontz[fnt16].Handle, Str2PChar(s), cWhiteColorChannels);
       fpsTexture:= Surface2Tex(tmpSurface, false);
       SDL_FreeSurface(tmpSurface)
       end;