Revert "Disable dynamic shadows for the 5.5.0 release" (#12032)

This commit is contained in:
rubenwardy
2022-01-31 21:48:14 +00:00
committed by GitHub
parent 1e4d6672be
commit c61998bd20
7 changed files with 65 additions and 13 deletions

View File

@@ -123,8 +123,8 @@ class RenderingEngine
// FIXME: this is still global when it shouldn't be
static ShadowRenderer *get_shadow_renderer()
{
//if (s_singleton && s_singleton->core)
// return s_singleton->core->get_shadow_renderer();
if (s_singleton && s_singleton->core)
return s_singleton->core->get_shadow_renderer();
return nullptr;
}
static std::vector<irr::video::E_DRIVER_TYPE> getSupportedVideoDrivers();