Rendertarget inherits from texture

This commit is contained in:
Simon Lübeß
2022-05-04 14:53:31 +02:00
parent 9c93ccee47
commit 805423a64e
6 changed files with 25 additions and 39 deletions
+2 -4
View File
@@ -17,10 +17,8 @@ namespace GlitchyEngine.Renderer
{
if(_samplerState == value)
return;
_samplerState?.ReleaseRef();
_samplerState = value;
_samplerState?.AddRef();
SetReference!(_samplerState, value);
}
}