Remove explicit truth tests

This commit is contained in:
Christian Semmler
2024-04-17 08:47:23 -04:00
parent ce1756bf7a
commit d169349bd6
3 changed files with 3 additions and 3 deletions

View File

@@ -125,7 +125,7 @@ void LegoTextureContainer::EraseFromList(LegoTextureInfo* p_textureInfo)
if ((*it).first == p_textureInfo) {
(*it).second = FALSE;
if (p_textureInfo->m_texture->Release() == TRUE) {
if (p_textureInfo->m_texture->Release()) {
delete p_textureInfo;
m_list.erase(it);
}