diff --git a/Source/Core/VideoCommon/Src/PixelShaderGen.cpp b/Source/Core/VideoCommon/Src/PixelShaderGen.cpp index c1e68f2279..c13d580106 100644 --- a/Source/Core/VideoCommon/Src/PixelShaderGen.cpp +++ b/Source/Core/VideoCommon/Src/PixelShaderGen.cpp @@ -712,25 +712,24 @@ static void WriteStage(char *&p, int n, u32 texture_mask) if(!bHasIndStage) { // calc tevcord //tevcoord.xy = texdim[1].xy * uv1.xy / uv1.z; - int OurTexCoord = 0; - if(bpmem.genMode.numtexgens) - OurTexCoord = texcoord; - else - OurTexCoord = 0; - if (texture_mask & (1<