mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-16 12:58:33 +02:00
VideoSoftware: Do not clear the depth buffer on EFB copy clears when depth writing is disabled.
This commit is contained in:
@ -461,10 +461,11 @@ namespace EfbInterface
|
|||||||
SetPixelAlphaOnly(offset, color[ALP_C]);
|
SetPixelAlphaOnly(offset, color[ALP_C]);
|
||||||
}
|
}
|
||||||
|
|
||||||
void SetDepth(u16 x, u16 y, u32 depth)
|
void SetDepth(u16 x, u16 y, u32 depth)
|
||||||
{
|
{
|
||||||
SetPixelDepth(GetDepthOffset(x, y), depth);
|
if (bpmem.zmode.updateenable)
|
||||||
}
|
SetPixelDepth(GetDepthOffset(x, y), depth);
|
||||||
|
}
|
||||||
|
|
||||||
void GetColor(u16 x, u16 y, u8 *color)
|
void GetColor(u16 x, u16 y, u8 *color)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user