mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-02-02 12:19:18 +00:00
fixed the commandline options -o0 and -f0 (disabling OpenGL and fullscreen)
This commit is contained in:
parent
e37fa65247
commit
169ffe1d6d
@ -3099,8 +3099,8 @@ EX int read_config_args() {
|
||||
else if(argis("-msens")) {
|
||||
PHASEFROM(2); shift_arg_formula(mouseaim_sensitivity);
|
||||
}
|
||||
TOGGLE('o', vid.usingGL, apply_screen_settings())
|
||||
TOGGLE('f', vid.want_fullscreen, apply_screen_settings())
|
||||
TOGGLE('o', vid.wantGL, { vid.wantGL = !vid.wantGL; apply_screen_settings();})
|
||||
TOGGLE('f', vid.want_fullscreen, { vid.want_fullscreen = !vid.want_fullscreen; apply_screen_settings(); })
|
||||
else if(argis("-noshaders")) {
|
||||
PHASE(1);
|
||||
glhr::noshaders = true;
|
||||
|
Loading…
Reference in New Issue
Block a user