aboutsummaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game.cpp b/src/game.cpp
index 966c23073..5bdbea617 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -2071,9 +2071,11 @@ void Game::run()
void Game::shutdown()
{
+#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
showOverlayMessage(wgettext("Shutting down..."), 0, 0, false);