hedgewars/uStore.pas
changeset 1180 e56317fdf78d
parent 1120 eb5a9f86f9c6
child 1185 a17732fbaf35
equal deleted inserted replaced
1179:bdf8b68b1dd1 1180:e56317fdf78d
   504     FreeTexture(SpritesData[ii].Texture);
   504     FreeTexture(SpritesData[ii].Texture);
   505     if SpritesData[ii].Surface <> nil then SDL_FreeSurface(SpritesData[ii].Surface)
   505     if SpritesData[ii].Surface <> nil then SDL_FreeSurface(SpritesData[ii].Surface)
   506     end;
   506     end;
   507 
   507 
   508 FreeTexture(HHTexture);
   508 FreeTexture(HHTexture);
   509 FreeTexture(LandTexture);
   509 FreeTexture(LandTexture)
   510 
       
   511 SDL_FreeSurface(LandSurface)
       
   512 end;
   510 end;
   513 
   511 
   514 function  RenderStringTex(s: string; Color: Longword; font: THWFont): PTexture;
   512 function  RenderStringTex(s: string; Color: Longword; font: THWFont): PTexture;
   515 var w, h: LongInt;
   513 var w, h: LongInt;
   516     Result: PSDL_Surface;
   514     Result: PSDL_Surface;