GPU/HW: Disable downsampling when using 24-bit display

It's dropped to 1x first anyway.
This commit is contained in:
Connor McLaughlin 2021-01-03 12:18:19 +10:00
parent 0d281538cf
commit 2ec26e54b7
1 changed files with 4 additions and 1 deletions

View File

@ -191,7 +191,10 @@ protected:
GPUDownsampleMode GetDownsampleMode(u32 resolution_scale) const; GPUDownsampleMode GetDownsampleMode(u32 resolution_scale) const;
ALWAYS_INLINE bool IsUsingMultisampling() const { return m_multisamples > 1; } 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() void SetFullVRAMDirtyRectangle()
{ {