aboutsummaryrefslogtreecommitdiffstats
path: root/Game
diff options
context:
space:
mode:
authorb1indy <b1indy@b956fd51-792f-4845-bead-9b4dfca2ff2c>2008-04-01 18:51:13 +0000
committerb1indy <b1indy@b956fd51-792f-4845-bead-9b4dfca2ff2c>2008-04-01 18:51:13 +0000
commit018f33e2c108242f34d185b1cc675bbe9185ce4e (patch)
tree6ebe520bbdf5e985993bdb097a051724a99a3a56 /Game
parent26cf54a7af88106fb12326aa92279c362ba0e0c2 (diff)
downloadusdx-018f33e2c108242f34d185b1cc675bbe9185ce4e.tar.gz
usdx-018f33e2c108242f34d185b1cc675bbe9185ce4e.tar.xz
usdx-018f33e2c108242f34d185b1cc675bbe9185ce4e.zip
shortened Log Output
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@995 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'Game')
-rw-r--r--Game/Code/Classes/UTexture.pas4
1 files changed, 2 insertions, 2 deletions
diff --git a/Game/Code/Classes/UTexture.pas b/Game/Code/Classes/UTexture.pas
index cccfae6c..7dc07d29 100644
--- a/Game/Code/Classes/UTexture.pas
+++ b/Game/Code/Classes/UTexture.pas
@@ -179,7 +179,6 @@ const
Alpha: 255
);
-
Constructor TTextureUnit.Create;
begin
inherited Create;
@@ -414,6 +413,7 @@ begin
Result:=SDL_ScaleSurfaceRect(TempSurface,
0,0,TempSurface^.W,TempSurface^.H,
W,H);
+ SDL_FreeSurface(TempSurface);
end;
procedure TTextureUnit.ScaleTexture(var TexSurface: PSDL_Surface; W,H: Cardinal);
@@ -776,7 +776,7 @@ begin
Log.BenchmarkEnd(4);
if Log.BenchmarkTimeLength[4] >= 1 then
Log.LogBenchmark('**********> Texture Load Time Warning - ' + Identifier + '/' + TextureTypeToStr(Typ), 4)
- else Log.LogBenchmark('**********> Texture Load Time ' + Identifier + '/' + TextureTypeToStr(Typ), 4);
+ else Log.LogBenchmark('**********> Texture Load Time ' + ExtractFileName(Identifier) + '/' + TextureTypeToStr(Typ), 4);
{$ifdef blindydebug}
Log.LogStatus('',' JB-8');
{$endif}