mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Fix typo with ztex2 op in UseVertexDepthRange
This commit is contained in:
@ -1697,7 +1697,7 @@ bool Renderer::UseVertexDepthRange() const
|
|||||||
return false;
|
return false;
|
||||||
|
|
||||||
// We need a full depth range if a ztexture is used.
|
// 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;
|
return true;
|
||||||
|
|
||||||
// If an inverted depth range is unsupported, we also need to check if the range is inverted.
|
// If an inverted depth range is unsupported, we also need to check if the range is inverted.
|
||||||
|
Reference in New Issue
Block a user