Skip to content
Snippets Groups Projects
Commit 1dbd4aae authored by deuce's avatar deuce
Browse files

There doesn't seem to be ANY way to switch into fullscreen mode using the

directx driver.  You need to start there and you can't go back (sigh)
parent e21895ca
No related branches found
No related tags found
No related merge requests found
......@@ -1192,14 +1192,8 @@ void setup_surfaces(void)
SDL_Surface *tmp_rect=NULL;
SDL_Event ev;
if(fullscreen) {
#if defined(_WIN32)
if(sdl_using_directx) {
flags=SDL_SWSURFACE|SDL_ANYFORMAT;
}
#endif
if(fullscreen)
flags |= SDL_FULLSCREEN;
}
else
flags |= SDL_RESIZABLE;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment