video: fix external fullscreen toggle event handling
This commit is contained in:
parent
f2e8ea7802
commit
f6bf2e451b
1 changed files with 1 additions and 2 deletions
|
@ -692,8 +692,7 @@ static void video_handle_resize(int w, int h) {
|
|||
log_debug("%ix%i --> %ix%i", video.current.width, video.current.height, w, h);
|
||||
video.current.width = w;
|
||||
video.current.height = h;
|
||||
video_set_viewport();
|
||||
events_emit(TE_VIDEO_MODE_CHANGED, 0, NULL, NULL);
|
||||
video_update_mode_settings();
|
||||
}
|
||||
|
||||
static bool video_handle_window_event(SDL_Event *event, void *arg) {
|
||||
|
|
Loading…
Reference in a new issue