[SDL] RotoZoom is great, but...

SlntHero at aol.com SlntHero at aol.com
Sat Sep 2 09:24:30 PDT 2006

In a message dated 9/2/2006 12:22:30 P.M. Eastern Standard Time,  
wizard at syntheticsw.com writes:

>  SDL_Surface *temp = SpriteBMP[spriteNumber];

does not copy the original  surface from SpriteBMP [spriteNumber]
into temp, it just sets temp with the  reference to SpriteBMP ...

Then the first time you free the original  surface and
the 2nd time try to rotate a NULL  surface.

Hi, how i fix above problem ?  thanks I am alttle stupid and  really need 
help with this!
_SLNTHERO at AOL.com_ (mailto:SLNTHERO at AOL.com) 
_www.SilentHeroProductions.com_ (http://www.SilentHeroProductions.com) 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20060902/aba40251/attachment-0008.htm>

More information about the SDL mailing list