1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-14 00:55:20 +02:00

Disable HW stereo for IrrLicht 1.9 (not supported anymore)

This commit is contained in:
number Zero
2018-11-05 15:22:13 +03:00
committed by sfan5
parent d90e3ea88d
commit 4f9c33de64
3 changed files with 12 additions and 0 deletions

View File

@@ -35,8 +35,10 @@ RenderingCore *createRenderingCore(const std::string &stereo_mode, IrrlichtDevic
return new RenderingCoreAnaglyph(device, client, hud);
if (stereo_mode == "interlaced")
return new RenderingCoreInterlaced(device, client, hud);
#ifdef STEREO_PAGEFLIP_SUPPORTED
if (stereo_mode == "pageflip")
return new RenderingCorePageflip(device, client, hud);
#endif
if (stereo_mode == "sidebyside")
return new RenderingCoreSideBySide(device, client, hud);
if (stereo_mode == "topbottom")