git.s-ol.nu ~forks/DiligentTools / 674a136
Minor fix in GLTF resource manager assiduous 10 months ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
128128 std::lock_guard<std::mutex> Lock{m_TexAllocationsMtx};
129129 // Note that the same allocation may potentially be created by more
130130 // than one thread if it has not been found in the cache originally
131 m_TexAllocations.emplace(CacheId, pAllocation).second;
131 m_TexAllocations.emplace(CacheId, pAllocation);
132132 }
133133
134134 return pAllocation;