mirror of
https://github.com/citra-emu/citra.git
synced 2024-11-22 13:30:07 +00:00
renderer_gl: Disable stereo on bottom screen
This commit is contained in:
parent
651663e5f7
commit
4505760ec7
@ -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 New Issue
Block a user