From: William K. <nb...@so...> - 2001-08-28 20:27:08
|
On Tue, Aug 28, 2001 at 12:08:06PM -0700, Jacob Greig wrote: > --- William Kendrick <nb...@so...> > > wrote: > >FPS was slowed down. Even on my girlfriend's 400Mhz PIII, with the > >background image being re-blitted every frame, it goes _slowly_. > > i saw your using sdl_flip, will this make differences on other OSes (lke beOS?) > > (I rememebr tuxtype had some problems using SDL_flip before, and thats why I ask) I believe "SDL_Flip()" 'does the right thing(tm)' when it's not actually doing true double-buffering. In otherwords, SDL_Flip() will fall-back and end up being a call to SDL_UpdateRect() for the entire surface. :) If there are probs., let me know. It's easy enough to build a wrapper that does do the "if" decision. -bill! |