diff options
author | otdav33 <odavies@dread.life> | 2018-05-29 12:38:58 -0400 |
---|---|---|
committer | SmallJoker <SmallJoker@users.noreply.github.com> | 2018-05-29 18:38:58 +0200 |
commit | 3f0720e721a2f4360fd0397a67ad57e0adc30f79 (patch) | |
tree | 95d6b360da58b208d3b724e093090c1fd9b172e7 /src/client/render/factory.cpp | |
parent | 7f7678e4e30fdae3722c3f75d4dc6488364d853e (diff) | |
download | minetest-3f0720e721a2f4360fd0397a67ad57e0adc30f79.tar.gz minetest-3f0720e721a2f4360fd0397a67ad57e0adc30f79.tar.bz2 minetest-3f0720e721a2f4360fd0397a67ad57e0adc30f79.zip |
Add crossview support (#7361)
Diffstat (limited to 'src/client/render/factory.cpp')
-rw-r--r-- | src/client/render/factory.cpp | 2 |
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); } |