summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon
diff options
context:
space:
mode:
authorPokechu22 <Pokechu022@gmail.com>2021-02-16 00:35:45 -0800
committerPokechu22 <Pokechu022@gmail.com>2021-03-06 19:27:17 -0800
commitf2bea6770966e6b69e4d005fbf1dc9de5c854a57 (patch)
tree70afc139400a88bfb387083feba67f0abfee1c34 /Source/Core/VideoCommon
parent762fe33a3db823685aa5636bfe5ca372b46f9df7 (diff)
Fix typo with ztex2 op in UseVertexDepthRange
Diffstat (limited to 'Source/Core/VideoCommon')
-rw-r--r--Source/Core/VideoCommon/RenderBase.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/RenderBase.cpp b/Source/Core/VideoCommon/RenderBase.cpp
index fbba9fc12f..1a9af2f232 100644
--- a/Source/Core/VideoCommon/RenderBase.cpp
+++ b/Source/Core/VideoCommon/RenderBase.cpp
@@ -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.