Software: Remove texinfo.sourcerow == SourceRow::Colors assert

These asserts were removed for the hardware renderer in #3684.
This commit is contained in:
Pokechu22 2021-06-20 17:02:46 -07:00
parent c788beecfc
commit 51862135d6

View File

@ -416,14 +416,12 @@ void TransformTexCoord(const InputVertexData* src, OutputVertexData* dst)
}
break;
case TexGenType::Color0:
ASSERT(texinfo.sourcerow == SourceRow::Colors);
ASSERT(texinfo.inputform == TexInputForm::AB11);
dst->texCoords[coordNum].x = (float)dst->color[0][0] / 255.0f;
dst->texCoords[coordNum].y = (float)dst->color[0][1] / 255.0f;
dst->texCoords[coordNum].z = 1.0f;
break;
case TexGenType::Color1:
ASSERT(texinfo.sourcerow == SourceRow::Colors);
ASSERT(texinfo.inputform == TexInputForm::AB11);
dst->texCoords[coordNum].x = (float)dst->color[1][0] / 255.0f;
dst->texCoords[coordNum].y = (float)dst->color[1][1] / 255.0f;