comparison src/video/windx5/SDL_dx5video.c @ 376:a5f60a847a89

*** empty log message ***
author Sam Lantinga <slouken@libsdl.org>
date Sun, 19 May 2002 23:31:00 +0000
parents 3fc4e71f7714
children 791d5ce383bc
comparison
equal deleted inserted replaced
375:17976f0f503f 376:a5f60a847a89
2212 /* If we're fullscreen GL, we need to reset the display */ 2212 /* If we're fullscreen GL, we need to reset the display */
2213 if ( this->screen != NULL ) { 2213 if ( this->screen != NULL ) {
2214 if ( (this->screen->flags & (SDL_OPENGL|SDL_FULLSCREEN)) == 2214 if ( (this->screen->flags & (SDL_OPENGL|SDL_FULLSCREEN)) ==
2215 (SDL_OPENGL|SDL_FULLSCREEN) ) { 2215 (SDL_OPENGL|SDL_FULLSCREEN) ) {
2216 ChangeDisplaySettings(NULL, 0); 2216 ChangeDisplaySettings(NULL, 0);
2217 SDL_ShowWindow(SDL_Window, SW_HIDE); 2217 ShowWindow(SDL_Window, SW_HIDE);
2218 } 2218 }
2219 if ( this->screen->flags & SDL_OPENGL ) { 2219 if ( this->screen->flags & SDL_OPENGL ) {
2220 WIN_GL_ShutDown(this); 2220 WIN_GL_ShutDown(this);
2221 } 2221 }
2222 } 2222 }