diff src/video/windx5/SDL_dx5video.c @ 304:ec53caed9fb2

*** empty log message ***
author Sam Lantinga <slouken@libsdl.org>
date Sun, 10 Mar 2002 03:25:47 +0000
parents f6ffac90895c
children f65715bd8ad8
line wrap: on
line diff
--- a/src/video/windx5/SDL_dx5video.c	Thu Mar 07 20:29:04 2002 +0000
+++ b/src/video/windx5/SDL_dx5video.c	Sun Mar 10 03:25:47 2002 +0000
@@ -51,9 +51,6 @@
 #include "SDL_dx5yuv_c.h"
 #include "SDL_wingl_c.h"
 
-/* Function called to create a GL video mode - use the GDI driver, not DirectX */
-extern SDL_Surface *DIB_SetVideoMode(_THIS, SDL_Surface *current,
-				int width, int height, int bpp, Uint32 flags);
 
 /* DirectX function pointers for video and events */
 HRESULT (WINAPI *DDrawCreate)( GUID FAR *lpGUID, LPDIRECTDRAW FAR *lplpDD, IUnknown FAR *pUnkOuter );
@@ -1078,6 +1075,7 @@
 			settings.dmFields = DM_PELSWIDTH | DM_PELSHEIGHT | DM_BITSPERPEL;
 			if ( ChangeDisplaySettings(&settings, CDS_FULLSCREEN) == DISP_CHANGE_SUCCESSFUL ) {
 				video->flags |= SDL_FULLSCREEN;
+				SDL_fullscreen_mode = settings;
 			}
 		}