mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 19:58:53 +00:00
RenderBase: Add EFBHasAlphaChannel() helper
This commit is contained in:
parent
9b6c9252e4
commit
7dd9d74eec
2 changed files with 6 additions and 0 deletions
|
@ -151,6 +151,11 @@ std::unique_ptr<AbstractShader> Renderer::CreateShaderFromSource(ShaderStage sta
|
|||
return CreateShaderFromSource(stage, source.c_str(), source.size());
|
||||
}
|
||||
|
||||
bool Renderer::EFBHasAlphaChannel() const
|
||||
{
|
||||
return m_prev_efb_format == PEControl::RGBA6_Z24;
|
||||
}
|
||||
|
||||
void Renderer::ClearScreen(const EFBRectangle& rc, bool colorEnable, bool alphaEnable, bool zEnable,
|
||||
u32 color, u32 z)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue