hedgewars/uWorld.pas
changeset 2670 1b327b7515ed
parent 2665 50b4e544c163
child 2671 7e0f88013fe8
--- a/hedgewars/uWorld.pas	Thu Dec 24 02:02:12 2009 +0000
+++ b/hedgewars/uWorld.pas	Thu Dec 24 13:38:20 2009 +0000
@@ -576,6 +576,7 @@
       s:= inttostr(FPS) + ' fps';
       if fpsTexture <> nil then FreeTexture(fpsTexture);
       tmpSurface:= TTF_RenderUTF8_Blended(Fontz[fnt16].Handle, Str2PChar(s), cWhiteColorChannels);
+      tmpSurface:= doSurfaceConversion(tmpSurface);
       fpsTexture:= Surface2Tex(tmpSurface, false);
       SDL_FreeSurface(tmpSurface)
       end;