mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 20:28:56 +00:00
Refactor ClearRegion
And fix bug where opengl was getting the wrong coordinates
This commit is contained in:
parent
b753641dd4
commit
e009002411
17 changed files with 77 additions and 82 deletions
|
@ -342,7 +342,7 @@ void ClearScreen(const MathUtil::Rectangle<int>& rc)
|
|||
color = RGBA8ToRGB565ToRGBA8(color);
|
||||
z = Z24ToZ16ToZ24(z);
|
||||
}
|
||||
g_renderer->ClearScreen(rc, colorEnable, alphaEnable, zEnable, color, z);
|
||||
g_framebuffer_manager->ClearEFB(rc, colorEnable, alphaEnable, zEnable, color, z);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue