src/video/windx5/SDL_dx5video.c
changeset 304 ec53caed9fb2
parent 297 f6ffac90895c
child 334 f65715bd8ad8
     1.1 --- a/src/video/windx5/SDL_dx5video.c	Thu Mar 07 20:29:04 2002 +0000
     1.2 +++ b/src/video/windx5/SDL_dx5video.c	Sun Mar 10 03:25:47 2002 +0000
     1.3 @@ -51,9 +51,6 @@
     1.4  #include "SDL_dx5yuv_c.h"
     1.5  #include "SDL_wingl_c.h"
     1.6  
     1.7 -/* Function called to create a GL video mode - use the GDI driver, not DirectX */
     1.8 -extern SDL_Surface *DIB_SetVideoMode(_THIS, SDL_Surface *current,
     1.9 -				int width, int height, int bpp, Uint32 flags);
    1.10  
    1.11  /* DirectX function pointers for video and events */
    1.12  HRESULT (WINAPI *DDrawCreate)( GUID FAR *lpGUID, LPDIRECTDRAW FAR *lplpDD, IUnknown FAR *pUnkOuter );
    1.13 @@ -1078,6 +1075,7 @@
    1.14  			settings.dmFields = DM_PELSWIDTH | DM_PELSHEIGHT | DM_BITSPERPEL;
    1.15  			if ( ChangeDisplaySettings(&settings, CDS_FULLSCREEN) == DISP_CHANGE_SUCCESSFUL ) {
    1.16  				video->flags |= SDL_FULLSCREEN;
    1.17 +				SDL_fullscreen_mode = settings;
    1.18  			}
    1.19  		}
    1.20