GPU/OpenGL: Fix non-interleaved interlaced display

This commit is contained in:
Connor McLaughlin
2020-05-26 13:44:05 +10:00
parent e368dbbadc
commit cb66889856
2 changed files with 5 additions and 4 deletions

View File

@ -1026,7 +1026,7 @@ std::string GPU_HW_ShaderGen::GenerateDisplayFragmentShader(bool depth_24bit, GP
uint2 icoords = uint2(v_pos.xy);
#if INTERLACED
if (((icoords.y / RESOLUTION_SCALE) & 1u) != u_field_offset)
if (((fixYCoord(icoords.y) / RESOLUTION_SCALE) & 1u) != u_field_offset)
discard;
#if !INTERLEAVED