mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
Fix typo with ztex2 op in UseVertexDepthRange
This commit is contained in:
parent
762fe33a3d
commit
f2bea67709
@ -1697,7 +1697,7 @@ bool Renderer::UseVertexDepthRange() const
|
||||
return false;
|
||||
|
||||
// We need a full depth range if a ztexture is used.
|
||||
if (bpmem.ztex2.type != ZTEXTURE_DISABLE && !bpmem.zcontrol.early_ztest)
|
||||
if (bpmem.ztex2.op != ZTEXTURE_DISABLE && !bpmem.zcontrol.early_ztest)
|
||||
return true;
|
||||
|
||||
// If an inverted depth range is unsupported, we also need to check if the range is inverted.
|
||||
|
Loading…
Reference in New Issue
Block a user