[SDL] SDL useful for sound synthesis?

Louis Desjardins lost_bits1110 at hotmail.com
Thu Sep 21 09:46:14 PDT 2006


On Sat, 02 Sep 2006 17:26:42 +0200, <SlntHero at aol.com> wrote:

> SDL_Surface *temp = SpriteBMP[spriteNumber];
> SDL_Surface  *temp2 = rotozoomSurface(temp, angle, zoom, 0);
[...]
> SDL_FreeSurface(temp);
> SDL_FreeSurface(temp2);
> }

  Maybe you're freeing the source frames from SpriteBMP a bit early?

  Don't free it if you don't own it.




More information about the SDL mailing list