mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06: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