libobs: Fix discard/retro deinterlace equations

master
jp9000 2016-04-20 20:13:15 -07:00
parent 82a7d795db
commit 8a9f1bc7c1
1 changed files with 2 additions and 1 deletions

View File

@ -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)