mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-04 15:19:09 +00:00
Sorry for the last one , forget to update z clearing to support the format change.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4354 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
9d67518f71
commit
025d68ba11
2 changed files with 2 additions and 2 deletions
|
@ -243,7 +243,7 @@ void ClearScreen(const BPCmd &bp, const EFBRectangle &rc)
|
|||
clearZ = (float)(bpmem.clearZValue & 0xFFFFFF) / float(0xFFFFFF);
|
||||
if (clearZ > 1.0f) clearZ = 1.0f;
|
||||
if (clearZ < 0.0f) clearZ = 0.0f;
|
||||
clearflags |= D3DCLEAR_ZBUFFER | D3DCLEAR_STENCIL;
|
||||
clearflags |= D3DCLEAR_ZBUFFER;//removed stencil
|
||||
}
|
||||
|
||||
D3D::dev->Clear(0, NULL, clearflags, col, clearZ, 0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue