mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-28 15:03:01 +00:00
Fixes --fullscreen and --windowed problems
This commit is contained in:
parent
cd2e6c0774
commit
bd186569de
1 changed files with 5 additions and 1 deletions
|
@ -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)";
|
||||||
|
|
Loading…
Reference in a new issue