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

@ -135,9 +135,6 @@ public:
void Flush() override;
void WaitForGPUIdle() override;
void RenderXFBToScreen(const MathUtil::Rectangle<int>& target_rc,
const AbstractTexture* source_texture,
const MathUtil::Rectangle<int>& source_rc) override;
void OnConfigChanged(u32 bits) override;
void ClearScreen(const MathUtil::Rectangle<int>& rc, bool colorEnable, bool alphaEnable,
@ -165,6 +162,10 @@ public:
protected:
std::unique_ptr<BoundingBox> CreateBoundingBox() const override;
virtual void SelectLeftBuffer() override;
virtual void SelectRightBuffer() override;
virtual void SelectMainBuffer() override;
private:
void CheckForSurfaceChange();
void CheckForSurfaceResize();