mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-30 21:42:59 +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; | ||||
|  | ||||
| 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(); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue