renderer_gl: Disable stereo on bottom screen
This commit is contained in:
parent
651663e5f7
commit
4505760ec7
1 changed files with 10 additions and 1 deletions
|
@ -803,8 +803,17 @@ void RendererOpenGL::DrawBottomScreen(const Layout::FramebufferLayout& layout,
|
|||
|
||||
const auto orientation = layout.is_rotated ? Layout::DisplayOrientation::Landscape
|
||||
: Layout::DisplayOrientation::Portrait;
|
||||
const auto render_3d =
|
||||
#ifndef ANDROID
|
||||
Settings::values.layout_option.GetValue() == Settings::LayoutOption::SeparateWindows &&
|
||||
Settings::values.render_3d.GetValue() != Settings::StereoRenderOption::Anaglyph
|
||||
? Settings::StereoRenderOption::Off
|
||||
: Settings::values.render_3d.GetValue();
|
||||
#else
|
||||
const auto render_3d = Settings::values.render_3d.GetValue();
|
||||
#endif
|
||||
|
||||
switch (Settings::values.render_3d.GetValue()) {
|
||||
switch (render_3d) {
|
||||
case Settings::StereoRenderOption::Off: {
|
||||
DrawSingleScreen(screen_infos[2], bottom_screen_left, bottom_screen_top,
|
||||
bottom_screen_width, bottom_screen_height, orientation);
|
||||
|
|
Loading…
Reference in a new issue