mirror of
https://github.com/izzy2lost/dolphin.git
synced 2026-06-19 01:16:48 -07:00
Refactor ClearRegion
And fix bug where opengl was getting the wrong coordinates
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user