[SDL] SDL_UpdateRects Question

Neil Bradley nb at synthcom.com
Mon Sep 23 13:43:02 PDT 2002


I'm doing dirty tiling (only blitting the 2D stuff that changes from frame
to frame) by using SDL_Blit() on just the tiles that change. The big
question is - when I do an SDL_Blit() should I do an SDL_UpdateRects() on
*EACH* of the tiles I blit, or just an SDL_UpdateRect() on the entire
screen area once the tile blits are complete?

-->Neil

-------------------------------------------------------------------------------
Neil Bradley            What are burger lovers saying
Synthcom Systems, Inc.  about the new BK Back Porch Griller?
ICQ #29402898	        "It tastes like it came off the back porch." - Me






More information about the SDL mailing list