[SDL] Some problems with Fullscreen Video Modes
clemens at thf.ath.cx
Fri Apr 2 06:39:48 PST 2004
Les HauSsebons <leshaussebons at regne.net> wrote:
> > >My code works allright in windowed mode, but when I
> > >try to run it on fullscreen mode it gets completely
> > >slow! It´s too slow, something like less than 1fps.
> > >that really sucks.
> > >
> > >The problem happens only when I try to use alpha
> > >blending and if the colordepth of the loaded images is
> > >different than that of the screen. Did I forget
> > >Something in the code?
when you are using SWSURFACES then you should allways call
SDL_DisplayFormat() for each of your images.
More information about the SDL