mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-05 16:41:38 +00:00
VideoSoftware: Do not clear the depth buffer on EFB copy clears when depth writing is disabled.
This commit is contained in:
parent
e6c6053fcc
commit
1f73651a7a
1 changed files with 5 additions and 4 deletions
|
@ -463,6 +463,7 @@ namespace EfbInterface
|
||||||
|
|
||||||
void SetDepth(u16 x, u16 y, u32 depth)
|
void SetDepth(u16 x, u16 y, u32 depth)
|
||||||
{
|
{
|
||||||
|
if (bpmem.zmode.updateenable)
|
||||||
SetPixelDepth(GetDepthOffset(x, y), depth);
|
SetPixelDepth(GetDepthOffset(x, y), depth);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue