video: don't lose resizability after toggling fullscreen

This commit is contained in:
Andrei Alexeyev 2019-04-18 20:16:56 +03:00
parent 077292e6b8
commit 7f8b72d864
No known key found for this signature in database
GPG key ID: 363707CD4C7FE8A4

View file

@ -299,7 +299,7 @@ void video_set_mode(int w, int h, bool fs, bool resizable) {
}
void video_set_fullscreen(bool fullscreen) {
video_set_mode(video.intended.width, video.intended.height, fullscreen, video_is_resizable());
video_set_mode(video.intended.width, video.intended.height, fullscreen, config_get_int(CONFIG_VID_RESIZABLE));
}
static void* video_screenshot_task(void *arg) {