Basic mutability framework

This commit is contained in:
Dynamitos committed 2022-01-12 14:40:26 +01:00
1 parent b2718dde70
commit 6d48267ec2
72 files changed
+1781 -1341

No files matched your search

+1 -1
View File
@@ -185,6 +185,6 @@ const Gfx::ShaderCollection* MaterialAsset::getShaders(Gfx::RenderPassType rende
Gfx::ShaderCollection& MaterialAsset::createShaders(Gfx::PGraphics graphics, Gfx::RenderPassType renderPass, VertexInputType* vertexInput)
{
std::unique_lock lock(shaderMapLock);
std::scoped_lock lock(shaderMapLock);
return shaderMap.createShaders(graphics, renderPass, this, vertexInput, false);
}