1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Irrlicht 1.9 support

This commit is contained in:
sfan5 2016-12-24 14:26:03 +01:00
parent b16252dcae
commit 084cdea686
6 changed files with 20 additions and 2 deletions

View file

@ -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);