Fixed build

This commit is contained in:
Sam Lantinga 2024-10-06 08:42:00 -07:00
parent 0f47d3a77b
commit f8dd73fdb9

View File

@ -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);
}
}