summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/Present.cpp
diff options
context:
space:
mode:
authorDentomologist <dentomologist@gmail.com>2026-04-23 12:22:43 -0700
committerDentomologist <dentomologist@gmail.com>2026-04-24 11:19:11 -0700
commitf67d80c7c1e442c058b502477b98bbecd14b4a47 (patch)
treeabdd690ae55811f85d4fbd546b5e0629b51c6051 /Source/Core/VideoCommon/Present.cpp
parent655ee270e7358d3f179cb0cfabdb95fabdbaa4fc (diff)
VideoConfig: Rename StereoMode::TAB to StereoMode::TopAndBottom
Diffstat (limited to 'Source/Core/VideoCommon/Present.cpp')
-rw-r--r--Source/Core/VideoCommon/Present.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/Core/VideoCommon/Present.cpp b/Source/Core/VideoCommon/Present.cpp
index d74752a2fd..0691323c54 100644
--- a/Source/Core/VideoCommon/Present.cpp
+++ b/Source/Core/VideoCommon/Present.cpp
@@ -392,7 +392,7 @@ Presenter::ConvertStereoRectangle(const MathUtil::Rectangle<int>& rc) const
{
// Resize target to half its original size
auto draw_rc = rc;
- if (g_ActiveConfig.stereo_mode == StereoMode::TAB)
+ if (g_ActiveConfig.stereo_mode == StereoMode::TopAndBottom)
{
// The height may be negative due to flipped rectangles
int height = rc.bottom - rc.top;
@@ -409,7 +409,7 @@ Presenter::ConvertStereoRectangle(const MathUtil::Rectangle<int>& rc) const
// Create two target rectangle offset to the sides of the backbuffer
auto left_rc = draw_rc;
auto right_rc = draw_rc;
- if (g_ActiveConfig.stereo_mode == StereoMode::TAB)
+ if (g_ActiveConfig.stereo_mode == StereoMode::TopAndBottom)
{
left_rc.top -= m_backbuffer_height / 4;
left_rc.bottom -= m_backbuffer_height / 4;
@@ -483,7 +483,7 @@ float Presenter::CalculateDrawAspectRatio(bool allow_stretch) const
// resolution
resulting_aspect_ratio *= 2.0;
}
- else if (g_ActiveConfig.stereo_mode == StereoMode::TAB)
+ else if (g_ActiveConfig.stereo_mode == StereoMode::TopAndBottom)
{
// Render twice as tall if using top-and-bottom 3D, since the 3D will halve the vertical
// resolution
@@ -831,7 +831,7 @@ void Presenter::RenderXFBToScreen(const MathUtil::Rectangle<int>& target_rc,
g_gfx->SelectMainBuffer();
}
else if (g_ActiveConfig.stereo_mode == StereoMode::SideBySide ||
- g_ActiveConfig.stereo_mode == StereoMode::TAB)
+ g_ActiveConfig.stereo_mode == StereoMode::TopAndBottom)
{
const auto [left_rc, right_rc] = ConvertStereoRectangle(target_rc);