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