GPU/HW: Fix sprite mode triggering on screen-aligned UVs

Some polygons just end up being perfect. For example, Croc 2
minecart level.
This commit is contained in:
Stenzek 2024-11-25 15:39:30 +10:00
parent a804801a1b
commit dec468966c
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -2551,7 +2551,7 @@ void GPU_HW::LoadVertices()
if (m_resolution_scale > 1 && !is_3d && rc.quad_polygon)
HandleFlippedQuadTextureCoordinates(vertices.data());
else if (m_allow_sprite_mode)
SetBatchSpriteMode((pgxp && !is_3d) || IsPossibleSpritePolygon(vertices.data()));
SetBatchSpriteMode(pgxp ? !is_3d : IsPossibleSpritePolygon(vertices.data()));
if (m_sw_renderer)
{