in OpenGL need to reopen on resolution change

This commit is contained in:
Zeno Rogue 2022-04-26 01:08:18 +02:00
parent 4f2b64febe
commit 2c2b1ce127
1 changed files with 2 additions and 0 deletions

View File

@ -1117,6 +1117,8 @@ EX bool need_to_reopen_window() {
return true;
if(want_vsync() != vid.current_vsync)
return true;
if(vid.usingGL && make_pair(vid.xres, vid.yres) != get_requested_resolution())
return true;
return false;
}