summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/Software/SWGfx.cpp
diff options
context:
space:
mode:
authorScott Mansell <phiren@gmail.com>2023-01-31 15:44:38 +1300
committerScott Mansell <phiren@gmail.com>2023-02-09 18:36:20 +1300
commite0090024119184238032923987af1c8d7167b7b5 (patch)
tree4e7c029e13c3959b029c767ccb476451878afefe /Source/Core/VideoBackends/Software/SWGfx.cpp
parentb753641dd44c927e52c4b478f0ace8bfdf17a2ff (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.cpp3
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();