Trying to fix invalid descriptorlayout

This commit is contained in:
Dynamitos committed 2020-10-03 11:00:10 +02:00
1 parent 79388bf41a
commit ceee96b462
69 files changed
+1087 -393

No files matched your search

+1 -1
View File
@@ -18,7 +18,7 @@ ShaderCompiler::~ShaderCompiler()
void ShaderCompiler::registerMaterial(PMaterial material)
{
for(auto type : VertexInputType::getTypeList())
for(auto& type : VertexInputType::getTypeList())
{
material->createShaders(graphics, Gfx::RenderPassType::DepthPrepass, type);
material->createShaders(graphics, Gfx::RenderPassType::BasePass, type);