mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-11 18:00:34 +00:00
dual:: fixed setfsize to affect both sizes
This commit is contained in:
parent
003f2361a8
commit
b52c093d58
@ -1116,7 +1116,9 @@ bool setfsize = true;
|
||||
bool vsync_off;
|
||||
|
||||
void do_setfsize() {
|
||||
vid.fsize = min(vid.yres * fontscale/ 3200, vid.xres * fontscale/ 4800), setfsize = false;
|
||||
dual::split_or_do([&] {
|
||||
vid.fsize = min(vid.yres * fontscale/ 3200, vid.xres * fontscale/ 4800), setfsize = false;
|
||||
});
|
||||
}
|
||||
|
||||
void disable_vsync() {
|
||||
|
Loading…
Reference in New Issue
Block a user