From 2ec26e54b7f564b5c55931a40c752e5b7aae449b Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Sun, 3 Jan 2021 12:18:19 +1000 Subject: [PATCH] GPU/HW: Disable downsampling when using 24-bit display It's dropped to 1x first anyway. --- src/core/gpu_hw.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/core/gpu_hw.h b/src/core/gpu_hw.h index 95fe8f0ee..66de0a18c 100644 --- a/src/core/gpu_hw.h +++ b/src/core/gpu_hw.h @@ -191,7 +191,10 @@ protected: GPUDownsampleMode GetDownsampleMode(u32 resolution_scale) const; ALWAYS_INLINE bool IsUsingMultisampling() const { return m_multisamples > 1; } - ALWAYS_INLINE bool IsUsingDownsampling() const { return (m_downsample_mode != GPUDownsampleMode::Disabled); } + ALWAYS_INLINE bool IsUsingDownsampling() const + { + return (m_downsample_mode != GPUDownsampleMode::Disabled && !m_GPUSTAT.display_area_color_depth_24); + } void SetFullVRAMDirtyRectangle() {