How to toggle window/fullscreen in real time?

Hi,

How can i switch between window and fullscreen?

i tried to set the video mode under the same screen but it didnt
worked very well…

Thx,

Nuno

there used to be a (and probably still exists) a function to toggle
from fullscreen to windowed mode. However this was only supported in a
few renderer only (X11 for sure).

You have to destroy your screen and get a new one to be able to go
fullscreen in a portable way.On 12/2/06, Nuno Santos wrote:

Hi,

How can i switch between window and fullscreen?

i tried to set the video mode under the same screen but it didnt
worked very well…

Thx,

Nuno


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl


Olivier Delannoy
ATER
PRiSM Laboratory
Versailles University, FRANCE