hedgewars/uWorld.pas
changeset 2290 bf87ca44782e
parent 2288 c01b8258918d
child 2292 87af4ad0ec98
--- a/hedgewars/uWorld.pas	Thu Jul 30 17:32:46 2009 +0000
+++ b/hedgewars/uWorld.pas	Thu Jul 30 22:36:57 2009 +0000
@@ -430,7 +430,7 @@
       s:= inttostr(FPS) + ' fps';
       if fpsTexture <> nil then FreeTexture(fpsTexture);
       tmpSurface:= TTF_RenderUTF8_Blended(Fontz[fnt16].Handle, Str2PChar(s), $FFFFFF);
-      fpsTexture:= Surface2Tex(tmpSurface);
+      fpsTexture:= Surface2Tex(tmpSurface, false);
       SDL_FreeSurface(tmpSurface)
       end;
    if fpsTexture <> nil then