Fixed reference bug
Former-commit-id: 9340098ca4eb052dabba384e9b7cee9130667104
This commit is contained in:
parent
5a40e0d373
commit
f8aedb2df1
|
|
@ -580,6 +580,7 @@ void NzMaterial::UpdateShader() const
|
|||
}
|
||||
|
||||
m_shader = NzShaderBuilder::Get(shaderFlags);
|
||||
m_shader->AddResourceReference();
|
||||
}
|
||||
|
||||
NzMaterialLoader::LoaderList NzMaterial::s_loaders;
|
||||
|
|
|
|||
Loading…
Reference in New Issue