"Dh" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> >
> > Ok, using your new binaries the images work fine, including PNGs.  There
was a bug in the
> > example code I posted, in that I was trying to copy from an offset in
the source image.  If you
> > change the -x and -y options of the Rect, it should display.
> >
> > However, the fullscreen() still doesn't do anything.  Did you mean by
your reply that
> > fullscreen() does work for you, or did you just mean the image?
>
> my bad, fullscreen() doesn't actually work, and it looks like a libsdl
issue.
> However, passing -flags => SDL_FULLSCREEN()
> does achieve fullscreen mode

Switching to fullscreen after the window has been initialized is broken in
the Windows version, due to broken OS support of it.
I'm not too well-knowledged with SDL_Perl, since I've yet to actually get it
to work, but the current workaround in the C binding is:

SDL_Shutdown(SDL_INIT_VIDEO); // Shutdown the Video sub-system (warning:
this will usually destroy all surfaces you have)
SDL_Init(SDL_INIT_VIDEO);
SDL_SetVideoMode(width, height, bpp, SDL_FULLSCREEN | flags);

Hope this helps

- Alex


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.659 / Virus Database: 423 - Release Date: 4/15/2004


Reply via email to