forked from Dynamitos/Seele
Basic mutability framework
This commit is contained in:
1 parent
b2718dde70
commit
6d48267ec2
72 files changed
+1781
-1341
No files matched your search
@@ -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);
|
||||
}
|
||||
Reference in new issue
Block a user