Refactor to remove virtual from RenderXFBToScreen

Slightly simplifies the upcoming refactor
This commit is contained in:
Scott Mansell
2023-01-26 19:06:39 +13:00
parent a01d5283ec
commit c38c76abad
7 changed files with 38 additions and 20 deletions

View File

@ -110,9 +110,8 @@ std::unique_ptr<AbstractPipeline> SWRenderer::CreatePipeline(const AbstractPipel
}
// Called on the GPU thread
void SWRenderer::RenderXFBToScreen(const MathUtil::Rectangle<int>& target_rc,
const AbstractTexture* source_texture,
const MathUtil::Rectangle<int>& source_rc)
void SWRenderer::ShowImage(const AbstractTexture* source_texture,
const MathUtil::Rectangle<int>& source_rc)
{
if (!IsHeadless())
m_window->ShowImage(source_texture, source_rc);