mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
Merge pull request #9832 from Pokechu22/software-color-asserts
Software: Remove texinfo.sourcerow == SourceRow::Colors assert
This commit is contained in:
commit
63c028c5df
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user