summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/Src/PixelShaderGen.cpp
diff options
context:
space:
mode:
authorXTra.KrazzY <XTra.KrazzY@gmail.com>2009-09-16 06:33:05 +0000
committerXTra.KrazzY <XTra.KrazzY@gmail.com>2009-09-16 06:33:05 +0000
commita8270d50eebe9ac119314e5644d94c908efba4f4 (patch)
treeeb38867041dcca2759e97d4eef396b7d9bd52267 /Source/Core/VideoCommon/Src/PixelShaderGen.cpp
parentce029df14421884afe729867494c012fefdce656 (diff)
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
Diffstat (limited to 'Source/Core/VideoCommon/Src/PixelShaderGen.cpp')
-rw-r--r--Source/Core/VideoCommon/Src/PixelShaderGen.cpp2
1 files changed, 1 insertions, 1 deletions
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;