GSdx-hw: use PRIM enums in SwSpriteRender.

This commit is contained in:
Alessandro Vetere 2019-08-28 19:24:27 +02:00 committed by lightningterror
parent cd0a6f05a0
commit 9b73c0eeec
1 changed files with 1 additions and 1 deletions

View File

@ -723,7 +723,7 @@ float GSRendererHW::alpha1(int L, int X0, int X1)
void GSRendererHW::SwSpriteRender()
{
// Supported drawing attributes
ASSERT(PRIM->PRIM == 4 || PRIM->PRIM == 6);
ASSERT(PRIM->PRIM == GS_TRIANGLESTRIP || PRIM->PRIM == GS_SPRITE);
ASSERT(!PRIM->IIP); // Flat shading method
ASSERT(!PRIM->FGE); // No FOG
ASSERT(!PRIM->AA1); // No antialiasing