diff options
| author | Scott Mansell <phiren@gmail.com> | 2023-01-31 15:44:38 +1300 |
|---|---|---|
| committer | Scott Mansell <phiren@gmail.com> | 2023-02-09 18:36:20 +1300 |
| commit | e0090024119184238032923987af1c8d7167b7b5 (patch) | |
| tree | 4e7c029e13c3959b029c767ccb476451878afefe /Source/Core/VideoBackends/Software/SWGfx.cpp | |
| parent | b753641dd44c927e52c4b478f0ace8bfdf17a2ff (diff) | |
Refactor ClearRegion
And fix bug where opengl was getting the wrong coordinates
Diffstat (limited to 'Source/Core/VideoBackends/Software/SWGfx.cpp')
| -rw-r--r-- | Source/Core/VideoBackends/Software/SWGfx.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/Core/VideoBackends/Software/SWGfx.cpp b/Source/Core/VideoBackends/Software/SWGfx.cpp index 7e8c234540..d4758a07fa 100644 --- a/Source/Core/VideoBackends/Software/SWGfx.cpp +++ b/Source/Core/VideoBackends/Software/SWGfx.cpp @@ -107,8 +107,7 @@ void SWGfx::ShowImage(const AbstractTexture* source_texture, m_window->ShowImage(source_texture, source_rc); } -void SWGfx::ClearRegion(const MathUtil::Rectangle<int>& rc, - const MathUtil::Rectangle<int>& target_rc, bool colorEnable, +void SWGfx::ClearRegion(const MathUtil::Rectangle<int>& target_rc, bool colorEnable, bool alphaEnable, bool zEnable, u32 color, u32 z) { EfbCopy::ClearEfb(); |
