Reference counting fixes

This commit is contained in:
Simon Lübeß
2021-02-08 15:25:46 +01:00
parent 2adb138f72
commit 11bc63fb04
3 changed files with 3 additions and 3 deletions
@@ -17,7 +17,7 @@ namespace GlitchyEngine.Renderer
{
nativeShaderCode = vertexShader.nativeCode..AddRef();
_context = context;
_context = context..AddRef();
_elements = ownElements;
CreateNativeLayout();