aboutsummaryrefslogtreecommitdiff
path: root/src/client/render/pageflip.cpp
diff options
context:
space:
mode:
authornumber Zero <numzer0@yandex.ru>2018-11-05 15:22:13 +0300
committersfan5 <sfan5@live.de>2018-11-11 18:08:15 +0100
commit4f9c33de640a748d020e63c7c85ccbbe341ab7a7 (patch)
tree8bfd3ddff7f63ebcf3a0b2d2b9b88d67c0cdbc9c /src/client/render/pageflip.cpp
parentd90e3ea88d3073a5dd0094937216aea0b35c1ce4 (diff)
downloadminetest-4f9c33de640a748d020e63c7c85ccbbe341ab7a7.tar.gz
minetest-4f9c33de640a748d020e63c7c85ccbbe341ab7a7.tar.bz2
minetest-4f9c33de640a748d020e63c7c85ccbbe341ab7a7.zip
Disable HW stereo for IrrLicht 1.9 (not supported anymore)
Diffstat (limited to 'src/client/render/pageflip.cpp')
-rw-r--r--src/client/render/pageflip.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/client/render/pageflip.cpp b/src/client/render/pageflip.cpp
index 5d81a257c..f3a219055 100644
--- a/src/client/render/pageflip.cpp
+++ b/src/client/render/pageflip.cpp
@@ -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