[SDL] Clipping question

James Gregory jamesg at f2s.com
Sat Feb 7 17:35:04 PST 2004


SDL automatically clips blits to the screen surface.

Does this make checking in your own code whether or not a given sprite is
on the screen pointless and inefficient?

If you have 500 sprites, and only a small proportion of them are likely
to be on the screen, should you just blit all 500 of them in any case and
let SDL_BlitSurface sort it out?

Thanks,

	James





More information about the SDL mailing list