From a8270d50eebe9ac119314e5644d94c908efba4f4 Mon Sep 17 00:00:00 2001 From: "XTra.KrazzY" Date: Wed, 16 Sep 2009 06:33:05 +0000 Subject: [PATCH] Tiny shader syntax fix that was here for a while now. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4285 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/VideoCommon/Src/PixelShaderGen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/VideoCommon/Src/PixelShaderGen.cpp b/Source/Core/VideoCommon/Src/PixelShaderGen.cpp index 75bc8dc31b..747ad9f2fe 100644 --- a/Source/Core/VideoCommon/Src/PixelShaderGen.cpp +++ b/Source/Core/VideoCommon/Src/PixelShaderGen.cpp @@ -721,7 +721,7 @@ static void WriteStage(char *&p, int n, u32 texture_mask, bool HLSL) break; case TEVCMP_R8_EQ: case TEVCMP_RGB8_EQ: - WRITE(p, " %s + (abs(%s.r - %s.r)<%f ? %s : float3(0.0f,0.0f,0.0f))n", + WRITE(p, " %s + (abs(%s.r - %s.r)<%f ? %s : float3(0.0f,0.0f,0.0f))", tevCInputTable[cc.d], tevCInputTable2[cc.a], tevCInputTable2[cc.b], epsilon8bit, tevCInputTable[cc.c]); break;