mirror of
https://github.com/shadps4-emu/ext-SDL.git
synced 2024-11-27 03:50:25 +00:00
Fixed build
This commit is contained in:
parent
0f47d3a77b
commit
f8dd73fdb9
@ -214,7 +214,7 @@ static void loop(void)
|
|||||||
if (event.type == SDL_EVENT_MOUSE_BUTTON_UP) {
|
if (event.type == SDL_EVENT_MOUSE_BUTTON_UP) {
|
||||||
SDL_Window *window = SDL_GetMouseFocus();
|
SDL_Window *window = SDL_GetMouseFocus();
|
||||||
if (highlighted_mode.w && window) {
|
if (highlighted_mode.w && window) {
|
||||||
SDL_copyp(&state->fullscreen_mode, &highlighted_mode, sizeof(state->fullscreen_mode));
|
SDL_copyp(&state->fullscreen_mode, &highlighted_mode);
|
||||||
SDL_SetWindowFullscreenMode(window, &highlighted_mode);
|
SDL_SetWindowFullscreenMode(window, &highlighted_mode);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user