RenderAPI changes and removed Context parameter from Effect and Material

This commit is contained in:
Simon Lübeß
2022-11-27 17:18:16 +01:00
parent d47ac23e1b
commit dffd43a36f
14 changed files with 89 additions and 52 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ namespace GlitchyEditor
public this()
{
_context = Renderer.[Friend]_context..AddRef();
_context = Application.Get().Window.Context..AddRef();
InitEffect();
InitState();