mirror of
https://github.com/stenzek/duckstation.git
synced 2025-06-07 12:05:52 +00:00
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:
parent
a804801a1b
commit
dec468966c
@ -2551,7 +2551,7 @@ void GPU_HW::LoadVertices()
|
|||||||
if (m_resolution_scale > 1 && !is_3d && rc.quad_polygon)
|
if (m_resolution_scale > 1 && !is_3d && rc.quad_polygon)
|
||||||
HandleFlippedQuadTextureCoordinates(vertices.data());
|
HandleFlippedQuadTextureCoordinates(vertices.data());
|
||||||
else if (m_allow_sprite_mode)
|
else if (m_allow_sprite_mode)
|
||||||
SetBatchSpriteMode((pgxp && !is_3d) || IsPossibleSpritePolygon(vertices.data()));
|
SetBatchSpriteMode(pgxp ? !is_3d : IsPossibleSpritePolygon(vertices.data()));
|
||||||
|
|
||||||
if (m_sw_renderer)
|
if (m_sw_renderer)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user