mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-06-29 08:22:51 +00:00
xres/yres changes affect all screens (should not be in videopar maybe?)
This commit is contained in:
parent
5ed1a0c8a4
commit
662d46b7ba
@ -507,9 +507,11 @@ void mainloopiter() { printf("(compiled without SDL -- no action)\n"); quitmainl
|
|||||||
int cframelimit = 1000;
|
int cframelimit = 1000;
|
||||||
|
|
||||||
void resize_screen_to(int x, int y) {
|
void resize_screen_to(int x, int y) {
|
||||||
|
dual::split_or_do([&] {
|
||||||
vid.xres = x;
|
vid.xres = x;
|
||||||
vid.yres = y;
|
vid.yres = y;
|
||||||
vid.killreduction = 0;
|
vid.killreduction = 0;
|
||||||
|
});
|
||||||
extern bool setfsize;
|
extern bool setfsize;
|
||||||
setfsize = true;
|
setfsize = true;
|
||||||
setvideomode();
|
setvideomode();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user