GPU: Fix incorrect sign extension of positions

Fixes missing objects in Skullmonkeys (again).
This commit is contained in:
Connor McLaughlin
2020-10-11 11:57:32 +10:00
parent a46d304d79
commit fe25f005c2
3 changed files with 6 additions and 6 deletions

View File

@ -236,8 +236,8 @@ void GPU_SW::DispatchRenderCommand()
vert.b = Truncate8(color_rgb >> 16);
const VertexPosition vp{FifoPop()};
vert.x = TruncateVertexPosition(m_drawing_offset.x + vp.x);
vert.y = TruncateVertexPosition(m_drawing_offset.y + vp.y);
vert.x = m_drawing_offset.x + vp.x;
vert.y = m_drawing_offset.y + vp.y;
if (textured)
{