mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-20 19:44:57 +00:00
Fix typo with ztex2 op in UseVertexDepthRange
This commit is contained in:
parent
762fe33a3d
commit
f2bea67709
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue