diff --git a/Source/Core/VideoCommon/RenderBase.cpp b/Source/Core/VideoCommon/RenderBase.cpp index dea1cca349..706e0ac58c 100644 --- a/Source/Core/VideoCommon/RenderBase.cpp +++ b/Source/Core/VideoCommon/RenderBase.cpp @@ -68,11 +68,6 @@ Renderer::Renderer() Renderer::~Renderer() = default; -bool Renderer::EFBHasAlphaChannel() const -{ - return m_prev_efb_format == PixelFormat::RGBA6_Z24; -} - void Renderer::ClearScreen(const MathUtil::Rectangle& rc, bool color_enable, bool alpha_enable, bool z_enable, u32 color, u32 z) { diff --git a/Source/Core/VideoCommon/RenderBase.h b/Source/Core/VideoCommon/RenderBase.h index 054516ae01..ea38b71b98 100644 --- a/Source/Core/VideoCommon/RenderBase.h +++ b/Source/Core/VideoCommon/RenderBase.h @@ -100,7 +100,6 @@ public: PixelFormat GetPrevPixelFormat() const { return m_prev_efb_format; } void StorePixelFormat(PixelFormat new_format) { m_prev_efb_format = new_format; } - bool EFBHasAlphaChannel() const; bool UseVertexDepthRange() const; void DoState(PointerWrap& p);