Integrating github/staging through commit ab87ed9
This commit is contained in:
@@ -537,7 +537,7 @@ void CMaterialManager::ReloadDirtyMaterials()
|
||||
|
||||
allMaterials.reserve(mtlCount);
|
||||
|
||||
uint32 mtlCountPrev = mtlCount;
|
||||
[[maybe_unused]] uint32 mtlCountPrev = mtlCount;
|
||||
runtimeMaterialManager->GetLoadedMaterials(&allMaterials, mtlCount);
|
||||
AZ_Assert(mtlCountPrev == mtlCount && mtlCount == allMaterials.size(), "It appears GetLoadedMaterials was not used correctly.");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user