summaryrefslogtreecommitdiff
path: root/src/client/render/factory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/render/factory.cpp')
-rw-r--r--src/client/render/factory.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/render/factory.cpp b/src/client/render/factory.cpp
index 410ceaad7..3aabc5db9 100644
--- a/src/client/render/factory.cpp
+++ b/src/client/render/factory.cpp
@@ -41,5 +41,7 @@ RenderingCore *createRenderingCore(const std::string &stereo_mode, IrrlichtDevic
return new RenderingCoreSideBySide(device, client, hud);
if (stereo_mode == "topbottom")
return new RenderingCoreSideBySide(device, client, hud, true);
+ if (stereo_mode == "crossview")
+ return new RenderingCoreSideBySide(device, client, hud, false, true);
throw std::invalid_argument("Invalid rendering mode: " + stereo_mode);
}