Remove Unlink from asset reference

This commit is contained in:
Wojtek Figat
2021-02-10 11:37:14 +01:00
parent adbb467206
commit 81e41d51c8
35 changed files with 80 additions and 124 deletions

View File

@@ -193,11 +193,12 @@ void ShadowsPass::Dispose()
// Base
RendererPass::Dispose();
// Cleanup
_psShadowDir.Delete();
_psShadowPoint.Delete();
_psShadowSpot.Delete();
_shader.Unlink();
_sphereModel.Unlink();
_shader = nullptr;
_sphereModel = nullptr;
SAFE_DELETE_GPU_RESOURCE(_shadowMapCSM);
SAFE_DELETE_GPU_RESOURCE(_shadowMapCube);
}