File tree Expand file tree Collapse file tree 2 files changed +16
-0
lines changed
Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -525,7 +525,11 @@ void removeResolutionVROption()
525525 options::OptionsManager::instance ()->removeOption (ResolutionVROption);
526526}
527527
528+ #ifndef USE_OPENGL_ES
528529bool Gr_enable_soft_particles = true ;
530+ #else
531+ bool Gr_enable_soft_particles = false ;
532+ #endif
529533
530534static void parse_soft_particle_func () {
531535 bool value;
@@ -696,7 +700,11 @@ static void parse_post_processing_func()
696700 Gr_post_processing_enabled = value;
697701}
698702
703+ #ifndef USE_OPENGL_ES
699704bool Gr_post_processing_enabled = true ;
705+ #else
706+ bool Gr_post_processing_enabled = false ;
707+ #endif
700708
701709static auto PostProcessOption __UNUSED = options::OptionBuilder<bool >(" Graphics.PostProcessing" ,
702710 std::pair<const char *, int >{" Post processing" , 1726 },
Original file line number Diff line number Diff line change @@ -102,7 +102,11 @@ DCF(light,"Changes lighting parameters")
102102}
103103
104104// used by In-Game Options menu
105+ #ifndef USE_OPENGL_ES
105106static bool DeferredLightingEnabled = true ;
107+ #else
108+ static bool DeferredLightingEnabled = false ;
109+ #endif
106110
107111static void parse_deferred_lighting_func ()
108112{
@@ -122,7 +126,11 @@ static auto DeferredLightingOption = options::OptionBuilder<bool>("Graphics.Defe
122126 .parser(parse_deferred_lighting_func)
123127 .finish();
124128
129+ #ifndef USE_OPENGL_ES
125130static bool DeferredCockpitLightingEnabled = true ;
131+ #else
132+ static bool DeferredCockpitLightingEnabled = false ;
133+ #endif
126134
127135static void parse_deferredcockpit_lighting_func ()
128136{
You can’t perform that action at this time.
0 commit comments