mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-12-19 20:38:09 +00:00
xres/yres changes affect all screens (should not be in videopar maybe?)
This commit is contained in:
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user