mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-11-01 05:24:29 +00:00
added some missing CAP_SDL and CAP_GL guards
This commit is contained in:
1 parent
8678a2f77f
commit
e78a170e7e
6 files changed
+49
-7
No files matched your search
@@ -890,11 +890,19 @@ EX namespace models {
|
||||
}
|
||||
else if(argis("-palpha")) {
|
||||
PHASEFROM(2);
|
||||
#if CAP_GL
|
||||
shift_arg_formula(panini_alpha, reset_all_shaders);
|
||||
#else
|
||||
shift_arg_formula(panini_alpha);
|
||||
#endif
|
||||
}
|
||||
else if(argis("-salpha")) {
|
||||
PHASEFROM(2);
|
||||
#if CAP_GL
|
||||
shift_arg_formula(stereo_alpha, reset_all_shaders);
|
||||
#else
|
||||
shift_arg_formula(stereo_alpha);
|
||||
#endif
|
||||
}
|
||||
else if(argis("-zoom")) {
|
||||
PHASEFROM(2); shift_arg_formula(vpconf.scale);
|
||||
|
||||
Reference in new issue
Block a user