--- 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