GPU/HW: Tweak vertex shader offsets

Fixes Doom/Dark Forces/etc in hardware renderer, but only at 1x
resolution. Fixes missing lines in Castlevania SOTM, Ridge Racer Type 4,
etc.
This commit is contained in:
Connor McLaughlin
2020-04-21 22:07:53 +10:00
parent 834f3768a1
commit ec5b52b3fb
2 changed files with 5 additions and 3 deletions

View File

@ -199,7 +199,7 @@ void GPU_HW::LoadVertices()
vertices[i].Set(m_drawing_offset.x + vp.x, m_drawing_offset.y + vp.y, color, texpage, packed_texcoord);
}
if (rc.quad_polygon)
if (rc.quad_polygon && m_resolution_scale > 1)
HandleFlippedQuadTextureCoordinates(vertices.data());
// Cull polygons which are too large.