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