added some missing CAP_SDL and CAP_GL guards

This commit is contained in:
Zeno Rogue committed 2021-05-23 16:00:49 +02:00
1 parent 8678a2f77f
commit e78a170e7e
6 files changed
+49 -7

No files matched your search

+8
View File
@@ -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);