[SDL] Normal behaviour ??
pink2 at odahoda.de
Fri Aug 24 23:17:01 PDT 2001
On Saturday 25 August 2001 02:42, you wrote:
> Is the following normal/wanted behavouir ??
> WINDOWS 95, DX 8.0 :
> SDL_Init (SDL_INIT_VIDEO);
> screen=SDL_SetVideoMode (640,480,24,SDL_HWPALETTE|SDL_SWSURFACE|
> When i now blit something to screen like
> SDL_BlitSurface (picture,NULL,screen,&rect);
> it is directly visible.
> I don´t have to call SDL_Flip (screen) to see it.
> Is this wanted ???
Check if screen->flags really has SDL_DOUBLEBUF set. SetVideoMode() will not
fail, if dblbuf is not available and you end up with a plain hw surface.
Benjamin Niemann (P!\K)
pink at odahoda.de
More information about the SDL