[SDL] SDL_BlitSurface with src==dst
slouken at devolution.com
Wed Jul 31 21:09:01 PDT 2002
> Is it save to use SDL_BlitSurface (SDL 1.2) with equal source and
> destination surfaces? "Save" means that if the source and destination
> rectangle overlapp then that part of the source that would be overwritten
> is copied first, so I don't get garbage on the screen. I tested it on
> Win2k and it seems to work fine, but can I be sure that it works with
> other versions/platforms as well?
It should work fine. If it doesn't, it's a bug.
-Sam Lantinga, Software Engineer, Blizzard Entertainment
More information about the SDL