mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-06-16 10:19:58 +00:00
in OpenGL need to reopen on resolution change
This commit is contained in:
parent
4f2b64febe
commit
2c2b1ce127
|
@ -1117,6 +1117,8 @@ EX bool need_to_reopen_window() {
|
||||||
return true;
|
return true;
|
||||||
if(want_vsync() != vid.current_vsync)
|
if(want_vsync() != vid.current_vsync)
|
||||||
return true;
|
return true;
|
||||||
|
if(vid.usingGL && make_pair(vid.xres, vid.yres) != get_requested_resolution())
|
||||||
|
return true;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user