diff --git a/Source/Plugins/Plugin_VideoDX9/Src/TextureConverter.cpp b/Source/Plugins/Plugin_VideoDX9/Src/TextureConverter.cpp index 07c210d98f..1640efda94 100644 --- a/Source/Plugins/Plugin_VideoDX9/Src/TextureConverter.cpp +++ b/Source/Plugins/Plugin_VideoDX9/Src/TextureConverter.cpp @@ -64,13 +64,13 @@ void CreateRgbToYuyvProgram() "void main(\n" " out float4 ocol0 : COLOR0,\n" " in float2 uv0 : TEXCOORD0,\n" - " in float uv1 : TEXCOORD1)\n" + " in float uv2 : TEXCOORD1)\n" "{\n" " float2 uv1 = float2((uv0.x + 1.0f)/ blkDims.z, uv0.y / blkDims.w);\n" " float3 c0 = tex2D(samp0, uv0.xy / blkDims.zw).rgb;\n" " float3 c1 = tex2D(samp0, uv1).rgb;\n" - " c0 = pow(c0,uv1.xxx);\n" - " c1 = pow(c1,uv1.xxx);\n" + " c0 = pow(c0,uv2.xxx);\n" + " c1 = pow(c1,uv2.xxx);\n" " float3 y_const = float3(0.257f,0.504f,0.098f);\n" " float3 u_const = float3(-0.148f,-0.291f,0.439f);\n" " float3 v_const = float3(0.439f,-0.368f,-0.071f);\n"