Make sdsm optionnal
scene manager is not ready yet
This commit is contained in:
@@ -467,6 +467,9 @@ namespace UserConfigParams
|
||||
PARAM_PREFIX BoolUserConfigParam m_azdo
|
||||
PARAM_DEFAULT(BoolUserConfigParam(false, "enable_azdo",
|
||||
&m_video_group, "Enable 'Approaching Zero Driver Overhead' mode (very experimental !)"));
|
||||
PARAM_PREFIX BoolUserConfigParam m_sdsm
|
||||
PARAM_DEFAULT(BoolUserConfigParam(false, "enable_sdsm",
|
||||
&m_video_group, "Enable Sampled Distribued Shadow Map (buggy atm)"));
|
||||
|
||||
// ---- Debug - not saved to config file
|
||||
/** If gamepad debugging is enabled. */
|
||||
|
||||
@@ -283,7 +283,7 @@ public:
|
||||
|
||||
bool supportsSDSM() const
|
||||
{
|
||||
return m_support_sdsm;
|
||||
return m_support_sdsm && UserConfigParams::m_sdsm;
|
||||
}
|
||||
|
||||
bool usesTextureCompression() const
|
||||
|
||||
Reference in New Issue
Block a user