xres/yres changes affect all screens (should not be in videopar maybe?)

This commit is contained in:
Zeno Rogue 2019-05-29 16:40:15 +02:00
parent 5ed1a0c8a4
commit 662d46b7ba
1 changed files with 5 additions and 3 deletions

View File

@ -507,9 +507,11 @@ void mainloopiter() { printf("(compiled without SDL -- no action)\n"); quitmainl
int cframelimit = 1000;
void resize_screen_to(int x, int y) {
vid.xres = x;
vid.yres = y;
vid.killreduction = 0;
dual::split_or_do([&] {
vid.xres = x;
vid.yres = y;
vid.killreduction = 0;
});
extern bool setfsize;
setfsize = true;
setvideomode();