[SDL] How to toggle window/fullscreen in real time?

Olivier Delannoy olivier.delannoy at gmail.com
Sun Dec 3 00:25:38 PST 2006


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 <developer at imaginando.net> 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




More information about the SDL mailing list