mirror of
https://github.com/minetest/minetest.git
synced 2024-08-19 04:54:18 +02:00
Fully remove pageflip 3D mode (#13074)
This commit is contained in:
parent
7f01471141
commit
afd5caa26a
@ -208,9 +208,8 @@ enable_particles (Digging particles) bool true
|
||||
# - topbottom: split screen top/bottom.
|
||||
# - sidebyside: split screen side by side.
|
||||
# - crossview: Cross-eyed 3d
|
||||
# - pageflip: quadbuffer based 3d.
|
||||
# Note that the interlaced mode requires shaders to be enabled.
|
||||
3d_mode (3D mode) enum none none,anaglyph,interlaced,topbottom,sidebyside,crossview,pageflip
|
||||
3d_mode (3D mode) enum none none,anaglyph,interlaced,topbottom,sidebyside,crossview
|
||||
|
||||
# Strength of 3D mode parallax.
|
||||
3d_paralax_strength (3D mode parallax strength) float 0.025 -0.087 0.087
|
||||
|
@ -1258,11 +1258,7 @@ void Game::run()
|
||||
void Game::shutdown()
|
||||
{
|
||||
m_rendering_engine->finalize();
|
||||
#if IRRLICHT_VERSION_MAJOR == 1 && IRRLICHT_VERSION_MINOR <= 8
|
||||
if (g_settings->get("3d_mode") == "pageflip") {
|
||||
driver->setRenderTarget(irr::video::ERT_STEREO_BOTH_BUFFERS);
|
||||
}
|
||||
#endif
|
||||
|
||||
auto formspec = m_game_ui->getFormspecGUI();
|
||||
if (formspec)
|
||||
formspec->quitMenu();
|
||||
|
@ -98,9 +98,6 @@ RenderingEngine::RenderingEngine(IEventReceiver *receiver)
|
||||
bool vsync = g_settings->getBool("vsync");
|
||||
u16 fsaa = g_settings->getU16("fsaa");
|
||||
|
||||
// stereo buffer required for pageflip stereo
|
||||
bool stereo_buffer = g_settings->get("3d_mode") == "pageflip";
|
||||
|
||||
// Determine driver
|
||||
video::E_DRIVER_TYPE driverType = video::EDT_OPENGL;
|
||||
const std::string &driverstring = g_settings->get("video_driver");
|
||||
@ -128,7 +125,6 @@ RenderingEngine::RenderingEngine(IEventReceiver *receiver)
|
||||
params.AntiAlias = fsaa;
|
||||
params.Fullscreen = fullscreen;
|
||||
params.Stencilbuffer = false;
|
||||
params.Stereobuffer = stereo_buffer;
|
||||
params.Vsync = vsync;
|
||||
params.EventReceiver = receiver;
|
||||
params.HighPrecisionFPU = true;
|
||||
|
Loading…
Reference in New Issue
Block a user