Mercurial > sdl-ios-xcode
comparison src/video/windib/SDL_dibvideo.c @ 304:ec53caed9fb2
*** empty log message ***
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sun, 10 Mar 2002 03:25:47 +0000 |
parents | e8157fcb3114 |
children | 518ffd98a8f6 |
comparison
equal
deleted
inserted
replaced
303:767c10b9ec9f | 304:ec53caed9fb2 |
---|---|
525 settings.dmPelsWidth = width; | 525 settings.dmPelsWidth = width; |
526 settings.dmPelsHeight = height; | 526 settings.dmPelsHeight = height; |
527 settings.dmFields = DM_PELSWIDTH | DM_PELSHEIGHT | DM_BITSPERPEL; | 527 settings.dmFields = DM_PELSWIDTH | DM_PELSHEIGHT | DM_BITSPERPEL; |
528 if ( ChangeDisplaySettings(&settings, CDS_FULLSCREEN) == DISP_CHANGE_SUCCESSFUL ) { | 528 if ( ChangeDisplaySettings(&settings, CDS_FULLSCREEN) == DISP_CHANGE_SUCCESSFUL ) { |
529 video->flags |= SDL_FULLSCREEN; | 529 video->flags |= SDL_FULLSCREEN; |
530 SDL_fullscreen_mode = settings; | |
530 } | 531 } |
531 } | 532 } |
532 #endif /* !NO_CHANGEDISPLAYSETTINGS */ | 533 #endif /* !NO_CHANGEDISPLAYSETTINGS */ |
533 | 534 |
534 /* Reset the palette and create a new one if necessary */ | 535 /* Reset the palette and create a new one if necessary */ |