diff options
| author | Pokechu22 <Pokechu022@gmail.com> | 2021-02-16 00:35:45 -0800 |
|---|---|---|
| committer | Pokechu22 <Pokechu022@gmail.com> | 2021-03-06 19:27:17 -0800 |
| commit | f2bea6770966e6b69e4d005fbf1dc9de5c854a57 (patch) | |
| tree | 70afc139400a88bfb387083feba67f0abfee1c34 /Source/Core/VideoCommon | |
| parent | 762fe33a3db823685aa5636bfe5ca372b46f9df7 (diff) | |
Fix typo with ztex2 op in UseVertexDepthRange
Diffstat (limited to 'Source/Core/VideoCommon')
| -rw-r--r-- | Source/Core/VideoCommon/RenderBase.cpp | 2 |
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. |
