Make sdsm optionnal

scene manager is not ready yet
This commit is contained in:
Vincent Lejeune
2014-11-29 01:33:10 +01:00
parent 7a92a4a8ef
commit 0aa6b9fcd1
2 changed files with 4 additions and 1 deletions

View File

@@ -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. */

View File

@@ -283,7 +283,7 @@ public:
bool supportsSDSM() const
{
return m_support_sdsm;
return m_support_sdsm && UserConfigParams::m_sdsm;
}
bool usesTextureCompression() const