diff options
Diffstat (limited to 'AssetLoader/src/GLTFResourceManager.cpp')
| -rw-r--r-- | AssetLoader/src/GLTFResourceManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/AssetLoader/src/GLTFResourceManager.cpp b/AssetLoader/src/GLTFResourceManager.cpp index 284b996..27b75e1 100644 --- a/AssetLoader/src/GLTFResourceManager.cpp +++ b/AssetLoader/src/GLTFResourceManager.cpp @@ -129,7 +129,7 @@ RefCntAutoPtr<ITextureAtlasSuballocation> ResourceManager::AllocateTextureSpace( std::lock_guard<std::mutex> Lock{m_TexAllocationsMtx}; // Note that the same allocation may potentially be created by more // than one thread if it has not been found in the cache originally - m_TexAllocations.emplace(CacheId, pAllocation).second; + m_TexAllocations.emplace(CacheId, pAllocation); } return pAllocation; |
