aboutsummaryrefslogtreecommitdiff
path: root/src/client/render/pageflip.cpp
diff options
context:
space:
mode:
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