mirror of
https://github.com/moonlight-stream/moonlight-embedded.git
synced 2025-08-18 01:15:59 +00:00
Fix "Make SDL fullscreen optional"
This commit is contained in:
parent
01ca45c750
commit
036fa5949d
@ -25,6 +25,8 @@
|
||||
#include <SDL.h>
|
||||
#include <SDL_thread.h>
|
||||
|
||||
#include <stdbool.h>
|
||||
|
||||
#define DECODER_BUFFER_SIZE 92*1024
|
||||
|
||||
static SDL_Window *window;
|
||||
@ -48,7 +50,7 @@ static void sdl_setup(int width, int height, int redrawRate, void* context, int
|
||||
exit(1);
|
||||
}
|
||||
|
||||
fullscreen = drFlags & DISPLAY_FULLSCREEN == DISPLAY_FULLSCREEN);
|
||||
fullscreen = (drFlags & DISPLAY_FULLSCREEN) == DISPLAY_FULLSCREEN;
|
||||
screen_width = width;
|
||||
screen_height = height;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user