Don't use FULLSCREEN_DESKTOP mode until Ryan finishes the backbuffer code.

This commit is contained in:
Ryan C. Gordon 2016-04-11 23:45:59 -04:00
parent 02af656d1c
commit 1d4440f02d

View File

@ -282,7 +282,7 @@ void OpenMainWindowFullScreen( PIX pixSizeI, PIX pixSizeJ)
#else
SDL_snprintf( achWindowTitle, sizeof (achWindowTitle), TRANS("Serious Sam (FullScreen %dx%d)"), pixSizeI, pixSizeJ);
_hwndMain = SDL_CreateWindow(achWindowTitle, SDL_WINDOWPOS_CENTERED, SDL_WINDOWPOS_CENTERED, pixSizeI, pixSizeJ, SDL_WINDOW_OPENGL | SDL_WINDOW_FULLSCREEN_DESKTOP);
_hwndMain = SDL_CreateWindow(achWindowTitle, SDL_WINDOWPOS_CENTERED, SDL_WINDOWPOS_CENTERED, pixSizeI, pixSizeJ, SDL_WINDOW_OPENGL | SDL_WINDOW_FULLSCREEN);
if( _hwndMain==NULL) FatalError(TRANS("Cannot open main window!"));
SE_UpdateWindowHandle( _hwndMain);
_pixLastSizeI = pixSizeI;