Use real fullscreen.
This commit is contained in:
parent
d420f1aa35
commit
039ae5f134
@ -73,11 +73,7 @@ int main(int argc, char *argv[]) {
|
||||
}
|
||||
|
||||
if(args.fullscreen)
|
||||
{
|
||||
SDL_SetWindowBordered(window, SDL_FALSE);
|
||||
SDL_SetWindowFullscreen(window,
|
||||
SDL_WINDOW_FULLSCREEN_DESKTOP);
|
||||
}
|
||||
SDL_SetWindowFullscreen(window, SDL_WINDOW_FULLSCREEN);
|
||||
|
||||
SDL_SetRelativeMouseMode(SDL_TRUE);
|
||||
SDL_GLContext glcontext = SDL_GL_CreateContext(window);
|
||||
|
Loading…
Reference in New Issue
Block a user