Skip to content

Commit

Permalink
Remove TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
TheNormalnij committed Feb 25, 2025
1 parent a020269 commit 3f6b591
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Client/game_sa/CModelInfoSA.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -806,7 +806,8 @@ void CModelInfoSA::SetTextureDictionaryID(unsigned short usID)
size_t referencesCount = m_pInterface->usNumberOfRefs;

// +1 reference for active rwObject
// TODO: pRwObject can have to unloaded TXD
// The current textures will be removed in RpAtomicDestroy
// RenderWare uses an additional reference counter per texture
if (m_pInterface->pRwObject)
referencesCount++;

Expand Down

0 comments on commit 3f6b591

Please sign in to comment.