softgpu: Correct texture check in fastpath.

This is the no textures option, so we shouldn't check sampler state at
all.  Presumably this was failing and reading uninitialized data...
This commit is contained in:
Unknown W. Brackets 2022-09-03 11:20:32 -07:00
parent af004dd53d
commit 15b73b56bb

View file

@ -225,8 +225,6 @@ void DrawSprite(const VertexData &v0, const VertexData &v1, const BinCoords &ran
!pixelID.dithering &&
pixelID.alphaBlend &&
AlphaTestIsNeedless(pixelID) &&
samplerID.useTextureAlpha &&
samplerID.TexFunc() == GE_TEXFUNC_MODULATE &&
!pixelID.applyColorWriteMask &&
pixelID.FBFormat() == GE_FORMAT_5551) {
if (v1.color0.a() == 0)