Skip to content

Commit

Permalink
fix #5719
Browse files Browse the repository at this point in the history
  • Loading branch information
rtri committed Aug 22, 2017
1 parent afe1cd4 commit 34c6eb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rts/Rendering/UnitDrawer.cpp
Expand Up @@ -591,7 +591,7 @@ void CUnitDrawer::DrawOpaqueUnitsShadow(int modelType) {
const int textureType = unitBinPair.first;

// only need to bind the atlas once for 3DO's, but KISS
assert((modelType == MODELTYPE_3DO) == (textureType == -1));
assert((modelType != MODELTYPE_3DO) || (textureType == 0));
shadowTexBindFuncs[modelType](texturehandlerS3O->GetTexture(textureType));

for (const auto& unitSetP: unitSet) {
Expand Down

0 comments on commit 34c6eb6

Please sign in to comment.