mirror of
https://github.com/libsdl-org/SDL.git
synced 2024-11-23 02:43:30 +08: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) {
|
||||
SDL_Window *window = SDL_GetMouseFocus();
|
||||
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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user