Re: maximized->fullscreen?

"梦影幻忆" <[email protected]>
Newsgroups gmane.comp.lib.sdl
Message-ID <[email protected]>
OS:windows10     SDL:v2.0.5
Desktop resolution:1920x1080
SDL resolution:960x540

Just use SDL_SetWindowFullscreen(SDL_WINDOW_HIDDEN and SDL_WINDOW_FULLSCREEN) , no more.

First:
SDL_SetWindowFullscreen(???,SDL_WINDOW_FULLSCREEN);//right

Second:
SDL_SetWindowFullscreen(???,SDL_WINDOW_HIDDEN );//right

Third:
SDL_SetWindowFullscreen(???,SDL_WINDOW_FULLSCREEN);//right

Fourth:
SDL_SetWindowFullscreen(???,SDL_WINDOW_HIDDEN );//error

I don't know why.
registration window style have been changed, and sdl resolution not is 960x540 , look like 800x600,maybe.
So I cancelled full screen function.

_______________________________________________
SDL mailing list
[email protected]
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.