Fixes --fullscreen and --windowed problems

This commit is contained in:
Vinícius R. Miguel 2020-05-18 00:28:05 -03:00
parent cd2e6c0774
commit bd186569de

View file

@ -163,9 +163,13 @@ static void gfx_sdl_init(void) {
//SDL_GL_SetAttribute(SDL_GL_MULTISAMPLEBUFFERS, 1); //SDL_GL_SetAttribute(SDL_GL_MULTISAMPLEBUFFERS, 1);
//SDL_GL_SetAttribute(SDL_GL_MULTISAMPLESAMPLES, 4); //SDL_GL_SetAttribute(SDL_GL_MULTISAMPLESAMPLES, 4);
if (gCLIOpts.FullScreen) if (gCLIOpts.FullScreen == 1)
configWindow.fullscreen = true; configWindow.fullscreen = true;
if (gCLIOpts.FullScreen == 2)
configWindow.fullscreen = false;
const char* window_title = const char* window_title =
#ifndef USE_GLES #ifndef USE_GLES
"Super Mario 64 PC port (OpenGL)"; "Super Mario 64 PC port (OpenGL)";