hedgewars/uTextures.pas
changeset 10634 35d059bd0932
parent 10155 ac01a2aeff69
child 10647 90062f7a3103
--- a/hedgewars/uTextures.pas	Sun Dec 07 14:36:28 2014 -0500
+++ b/hedgewars/uTextures.pas	Mon Dec 08 09:35:14 2014 -0500
@@ -28,7 +28,7 @@
 procedure PrettifySurfaceAlpha(surf: PSDL_Surface; pixels: PLongwordArray);
 procedure PrettifyAlpha2D(pixels: TLandArray; height, width: LongWord);
 procedure FreeTexture(tex: PTexture);
-procedure FreeAndNilTexture(var tex: PTexture);
+procedure FreeAndNilTexture(var tex: PTexture); inline;
 
 procedure initModule;
 procedure freeModule;
@@ -312,7 +312,7 @@
     end
 end;
 
-procedure FreeAndNilTexture(var tex: PTexture);
+procedure FreeAndNilTexture(var tex: PTexture); inline;
 begin
     FreeTexture(tex);
     tex:= nil