aboutsummaryrefslogtreecommitdiff
path: root/src/client/renderingengine.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/renderingengine.h')
-rw-r--r--src/client/renderingengine.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/client/renderingengine.h b/src/client/renderingengine.h
index a0ddb0d9a..38420010f 100644
--- a/src/client/renderingengine.h
+++ b/src/client/renderingengine.h
@@ -55,7 +55,6 @@ public:
static const VideoDriverInfo &getVideoDriverInfo(irr::video::E_DRIVER_TYPE type);
static float getDisplayDensity();
- static v2u32 getDisplaySize();
bool setupTopLevelWindow(const std::string &name);
void setupTopLevelXorgWindow(const std::string &name);
@@ -123,8 +122,8 @@ public:
// 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();