hedgewars/uStore.pas
changeset 1806 3c4f0886c123
parent 1805 dd9fb4b13fd8
child 1854 6e05013899b2
equal deleted inserted replaced
1805:dd9fb4b13fd8 1806:3c4f0886c123
   565     begin
   565     begin
   566     FreeTexture(SpritesData[ii].Texture);
   566     FreeTexture(SpritesData[ii].Texture);
   567     if SpritesData[ii].Surface <> nil then SDL_FreeSurface(SpritesData[ii].Surface)
   567     if SpritesData[ii].Surface <> nil then SDL_FreeSurface(SpritesData[ii].Surface)
   568     end;
   568     end;
   569 
   569 
   570 FreeTexture(HHTexture);
   570 FreeTexture(HHTexture)
   571 FreeTexture(LandTexture)
       
   572 end;
   571 end;
   573 
   572 
   574 function  RenderStringTex(s: string; Color: Longword; font: THWFont): PTexture;
   573 function  RenderStringTex(s: string; Color: Longword; font: THWFont): PTexture;
   575 var w, h: LongInt;
   574 var w, h: LongInt;
   576     Result: PSDL_Surface;
   575     Result: PSDL_Surface;