diff options
| author | JMC47 <JMC4789@gmail.com> | 2021-06-23 18:34:19 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-06-23 18:34:19 -0400 |
| commit | 63c028c5df8aa7c5fe0f47f16e21f61888f901a9 (patch) | |
| tree | ac6f48b88a3eaeb1e4ba6129eda93cf07b6bb2cd /Source/Core/VideoBackends/Software/TransformUnit.cpp | |
| parent | 95ecb73b112e637197c12fe9546a1b9bf728f2af (diff) | |
| parent | 51862135d6df263c953c91e486e803fb985ac2ed (diff) | |
Merge pull request #9832 from Pokechu22/software-color-asserts
Software: Remove texinfo.sourcerow == SourceRow::Colors assert
Diffstat (limited to 'Source/Core/VideoBackends/Software/TransformUnit.cpp')
| -rw-r--r-- | Source/Core/VideoBackends/Software/TransformUnit.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Source/Core/VideoBackends/Software/TransformUnit.cpp b/Source/Core/VideoBackends/Software/TransformUnit.cpp index 0c7fccaf0b..c7d2717d39 100644 --- a/Source/Core/VideoBackends/Software/TransformUnit.cpp +++ b/Source/Core/VideoBackends/Software/TransformUnit.cpp @@ -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; |
