aboutsummaryrefslogtreecommitdiff
path: root/src/client/game.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/game.cpp')
-rw-r--r--src/client/game.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/client/game.cpp b/src/client/game.cpp
index e7fc31774..486ab41a3 100644
--- a/src/client/game.cpp
+++ b/src/client/game.cpp
@@ -1258,11 +1258,7 @@ void Game::run()
void Game::shutdown()
{
m_rendering_engine->finalize();
-#if IRRLICHT_VERSION_MAJOR == 1 && IRRLICHT_VERSION_MINOR <= 8
- if (g_settings->get("3d_mode") == "pageflip") {
- driver->setRenderTarget(irr::video::ERT_STEREO_BOTH_BUFFERS);
- }
-#endif
+
auto formspec = m_game_ui->getFormspecGUI();
if (formspec)
formspec->quitMenu();