From 685d612c8c755c81ae1ca6b9e379aed1886d0656 Mon Sep 17 00:00:00 2001 From: magumagu Date: Tue, 15 Apr 2014 14:05:12 -0700 Subject: [PATCH] Software backend: don't skip red component in TEV. --- Source/Core/VideoBackends/Software/Tev.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/VideoBackends/Software/Tev.cpp b/Source/Core/VideoBackends/Software/Tev.cpp index 699c51d433..9e6191c315 100644 --- a/Source/Core/VideoBackends/Software/Tev.cpp +++ b/Source/Core/VideoBackends/Software/Tev.cpp @@ -198,7 +198,7 @@ void Tev::DrawColorRegular(TevStageCombiner::ColorCombiner &cc, const InputRegTy void Tev::DrawColorCompare(TevStageCombiner::ColorCombiner &cc, const InputRegType inputs[4]) { - for (int i = BLU_C; i < RED_C; i++) + for (int i = BLU_C; i <= RED_C; i++) { switch ((cc.shift<<1)|cc.op|8) // encoded compare mode {