1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-11-13 13:25:26 +01: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

@@ -20,6 +20,8 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "pageflip.h"
#ifdef STEREO_PAGEFLIP_SUPPORTED
void RenderingCorePageflip::initTextures()
{
hud = driver->addRenderTargetTexture(
@@ -53,3 +55,5 @@ void RenderingCorePageflip::resetEye()
driver->setRenderTarget(video::ERT_FRAME_BUFFER, false, false, skycolor);
RenderingCoreStereo::resetEye();
}
#endif // STEREO_PAGEFLIP_SUPPORTED