[SDL] dumb question
Samuel J. Thurston, III
sjt_3 at yahoo.com
Wed Mar 12 22:44:01 PST 2003
if i am understanding this (and the other relevant
post) correctly, it is like a "partial screen" version
of SDL_Flip(); is this right? wouldn't this cause
visible 'draw-in' as if drawing single buffered?
sorry this is just one of those concepts i am having
--- Robert Harrison <rharrison at hgfip.com> wrote:
> UdateRects forces the display to be refreshed with
> the surface changes.
> There is no point doing this automatically every
> time you make a surface
> change as you may want to make hundreds of small
> changes to a surface
> before refreshing the display screen.
> I don't think you need to call UpdateRects if you
> don't want to refresh
> the display.
> >maybe I'm just dumb, but i cannot understand what
> >SDL_UpdateRects(); function is for. The only
> >code i can find using it has an SDL_UpdateRects()
> >occurring right after, and upon the same rect as a
> >blit. does the blit copy the image to framebuffer
> >no? is the framebuffer different than the
> >corresponding physical video ram... what exactly is
> >updating, to where and from where?
> >what else would i use this function for?
> >Do you Yahoo!?
> >Yahoo! Web Hosting - establish your business online
> >SDL mailing list
> >SDL at libsdl.org
> SDL mailing list
> SDL at libsdl.org
Do you Yahoo!?
Yahoo! Web Hosting - establish your business online
More information about the SDL