WinNT fullscreen? Toggle fullscreen in Non-X11?

Hi!

My program is not able to open a fullscreen display in NT. There’s just
a short black flash. The windowed mode works great. It is a 8 bits deep
display. I think the NT was deep 16 or 24 bits.
Is there a explanation for this behaviour? Can I fix it somehow?

Another question is the toggling between fullscreen/window mode under
Windows in general. Is it possible at all? As the includes say,
SDL_WM_ToggleFullscreen() only works in X11. Will the manual way with
SetVideoMode(…,!is_fullscreen) still work?

Rainer Loritz

Under Windows NT mine changes the display mode to the correct one, but the
window appears offset from the corner of the screen so you can only see part
of it.

I don’t know the answer to your question, but thought it might encourage you
to know it’s not just you!> -----Original Message-----

From: Rainer Loritz
Sent: 23 June 2000 10:35
To: sdl at lokigames.com
Subject: [SDL] WinNT fullscreen?? Toggle fullscreen in Non-X11??

Hi!

My program is not able to open a fullscreen display in NT.
There’s just
a short black flash. The windowed mode works great. It is a 8
bits deep
display. I think the NT was deep 16 or 24 bits.
Is there a explanation for this behaviour? Can I fix it somehow?

Another question is the toggling between fullscreen/window mode under
Windows in general. Is it possible at all? As the includes say,
SDL_WM_ToggleFullscreen() only works in X11. Will the manual way with
SetVideoMode(…,!is_fullscreen) still work?

Rainer Loritz

Under Windows NT mine changes the display mode to the correct one, but the
window appears offset from the corner of the screen so you can only see part
of it.

This sounds like an old bug. Does it happen with SDL 1.1.3?

See ya,
-Sam Lantinga, Lead Programmer, Loki Entertainment Software