summaryrefslogtreecommitdiff
path: root/Source/Plugins/Plugin_VideoSoftware/Src/Rasterizer.cpp
diff options
context:
space:
mode:
authorRachel Bryk <RachelBryk@gmail.com>2013-08-15 09:00:04 -0400
committerRachel Bryk <RachelBryk@gmail.com>2013-08-15 09:00:04 -0400
commit6d67ea2fdabab5b4daff88409dcb746fab52b483 (patch)
treebec0234d1b07915570ca3296b109ab4eb2fd2868 /Source/Plugins/Plugin_VideoSoftware/Src/Rasterizer.cpp
parentf51cb0b7eb9c0f261abd3f5d68707ba1f93e3888 (diff)
parentd16f089e88f63931d792cb4b2fca05747ed8c90a (diff)
Merge remote-tracking branch 'origin/master' into wiimote-netplay
Diffstat (limited to 'Source/Plugins/Plugin_VideoSoftware/Src/Rasterizer.cpp')
-rw-r--r--Source/Plugins/Plugin_VideoSoftware/Src/Rasterizer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Plugins/Plugin_VideoSoftware/Src/Rasterizer.cpp b/Source/Plugins/Plugin_VideoSoftware/Src/Rasterizer.cpp
index f1fc5f5ac9..3c45ee7d25 100644
--- a/Source/Plugins/Plugin_VideoSoftware/Src/Rasterizer.cpp
+++ b/Source/Plugins/Plugin_VideoSoftware/Src/Rasterizer.cpp
@@ -135,7 +135,7 @@ inline void Draw(s32 x, s32 y, s32 xi, s32 yi)
if (z < 0 || z > 0x00ffffff)
return;
- if (bpmem.zcontrol.early_ztest && bpmem.zmode.testenable && g_SWVideoConfig.bZComploc)
+ if (bpmem.UseEarlyDepthTest() && g_SWVideoConfig.bZComploc)
{
// TODO: Test if perf regs are incremented even if test is disabled
SWPixelEngine::pereg.IncZInputQuadCount(true);