[SDL] Corruption of Rect in SDL_BlitSurface

Patricia Curtis patricia.curtis at gmail.com
Wed Jul 5 10:26:43 PDT 2006


Hi I Just noticed that SDL_BlitSurface corrupts the destination rect when
used with negative x and y values, which prevents reuse of the rect. not a
big problem but i would have thought it would not corrupt it.

int *SDL_BlitSurface*(SDL_Surface *src, SDL_Rect *srcrect, SDL_Surface *dst,
SDL_Rect *dstrect);

At least put it in the docs as it would have saved me a little time to find.

Trish
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20060706/619a0eb3/attachment.htm 


More information about the SDL mailing list