mirror of
https://github.com/aharabada/glitchy-engine-beef.git
synced 2026-09-06 05:01:53 +00:00
Rendertarget inherits from texture
This commit is contained in:
@@ -17,10 +17,8 @@ namespace GlitchyEngine.Renderer
|
||||
{
|
||||
if(_samplerState == value)
|
||||
return;
|
||||
|
||||
_samplerState?.ReleaseRef();
|
||||
_samplerState = value;
|
||||
_samplerState?.AddRef();
|
||||
|
||||
SetReference!(_samplerState, value);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user