| 304 | } |
| 305 | |
| 306 | void AddDynamicResourceHash(HCollection hcollection, dmhash_t resource_hash) |
| 307 | { |
| 308 | Collection* collection = hcollection->m_Collection; |
| 309 | dmMutex::Lock(collection->m_Mutex); |
| 310 | if (collection->m_DynamicResources.Remaining() == 0) |
| 311 | { |
| 312 | collection->m_DynamicResources.OffsetCapacity(1); |
| 313 | } |
| 314 | collection->m_DynamicResources.Push(resource_hash); |
| 315 | dmMutex::Unlock(collection->m_Mutex); |
| 316 | } |
| 317 | |
| 318 | void RemoveDynamicResourceHash(HCollection hcollection, dmhash_t resource_hash) |
| 319 | { |
no test coverage detected