X-Git-Url: http://deadsoftware.ru/gitweb?a=blobdiff_plain;f=src%2Fgame%2Fg_textures.pas;h=93d8c63d056e93ad0fc5fef015b1b637173b6ad6;hb=c60af5eda7f59dd43a46577bf27497a8e74f04fd;hp=613419e21e451e1f0793126bdbf9c67fe174eaf3;hpb=8b87c4d3552073bc1dd71381553fa9973adbe260;p=d2df-sdl.git diff --git a/src/game/g_textures.pas b/src/game/g_textures.pas index 613419e..93d8c63 100644 --- a/src/game/g_textures.pas +++ b/src/game/g_textures.pas @@ -1,3 +1,18 @@ +(* Copyright (C) DooM 2D:Forever Developers + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + *) {$MODE DELPHI} unit g_textures; @@ -367,7 +382,7 @@ begin if not e_CreateTextureMemEx(pData, dataSize, FramesArray[find_id].TexturesID[a], a*FWidth, 0, FWidth, FHeight) then begin - FreeMem(pData); + //!!!FreeMem(pData); Exit; end;