mirror of
https://github.com/moonlight-stream/moonlight-embedded.git
synced 2025-08-18 09:26:12 +00:00
Fullscreen by default for SDL
This commit is contained in:
parent
6621bb73ff
commit
cee58fa52c
@ -27,7 +27,7 @@
|
||||
#include <stdbool.h>
|
||||
|
||||
static bool done;
|
||||
static int fullscreen_flags;
|
||||
static int fullscreen_flags = SDL_WINDOW_FULLSCREEN;
|
||||
|
||||
SDL_Window *sdl_window;
|
||||
|
||||
|
@ -55,7 +55,7 @@ static void sdl_cleanup() {
|
||||
|
||||
static int sdl_submit_decode_unit(PDECODE_UNIT decodeUnit) {
|
||||
if (window == NULL) {
|
||||
window = SDL_CreateWindow("Moonlight", SDL_WINDOWPOS_UNDEFINED, SDL_WINDOWPOS_UNDEFINED, screen_width, screen_height, SDL_WINDOW_OPENGL);
|
||||
window = SDL_CreateWindow("Moonlight", SDL_WINDOWPOS_UNDEFINED, SDL_WINDOWPOS_UNDEFINED, screen_width, screen_height, SDL_WINDOW_OPENGL | SDL_WINDOW_FULLSCREEN);
|
||||
if(!window) {
|
||||
fprintf(stderr, "SDL: could not create window - exiting\n");
|
||||
exit(1);
|
||||
|
Loading…
x
Reference in New Issue
Block a user