From 1dbd4aae827791641fb9b7513eb03688f3f2fcc6 Mon Sep 17 00:00:00 2001 From: deuce <> Date: Tue, 23 Oct 2007 19:23:30 +0000 Subject: [PATCH] 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) --- src/conio/sdl_con.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/conio/sdl_con.c b/src/conio/sdl_con.c index 1e8ec9a342..f4f128e20a 100644 --- a/src/conio/sdl_con.c +++ b/src/conio/sdl_con.c @@ -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; -- GitLab