提交 8a9f1bc7 编写于 作者: J jp9000

libobs: Fix discard/retro deinterlace equations

上级 82a7d795
......@@ -145,7 +145,8 @@ float4 texel_at_yadif_2x(int2 texel, int field, bool mode0)
float4 texel_at_discard(int2 texel, int field)
{
return load_at_image(texel, 0, (texel.y + field) % 2);
texel.y = texel.y / 2 * 2;
return load_at_image(texel, 0, field);
}
float4 texel_at_discard_2x(int2 texel, int field)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册