mirror of
https://github.com/aharabada/glitchy-engine-beef.git
synced 2026-09-05 21:01:52 +00:00
Content browser
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user