Content browser

This commit is contained in:
Simon Lübeß
2022-07-25 17:03:28 +02:00
parent 0339ae4422
commit bff4418b84
21 changed files with 481 additions and 44 deletions
+2 -2
View File
@@ -40,7 +40,7 @@ namespace GlitchyEngine.Renderer
{
for(let (name, texture) in _textures)
{
texture.ReleaseRef();
texture.Release();
}
delete _textures;
@@ -90,7 +90,7 @@ namespace GlitchyEngine.Renderer
{
if(_textures.TryGetValue(name, var entry))
{
entry.ReleaseRef();
entry.Release();
_textures[name] = texture.GetViewBinding();
//texture?.AddRef();
}