Materials kind of working and used in some places

- Also Texture viewer fixes
This commit is contained in:
Simon Lübeß
2025-02-09 01:39:35 +01:00
parent acfb052137
commit 76087d6ba4
21 changed files with 572 additions and 322 deletions
@@ -560,7 +560,7 @@ namespace GlitchyEngine.Renderer.Text
public static void DrawText(PreparedText text, Matrix transform, ColorRGBA fontColor = .White)
{
Debug.Profiler.ProfileRendererFunction!();
/*Debug.Profiler.ProfileRendererFunction!();
text.AddRef();
defer text.ReleaseRef();
@@ -654,7 +654,7 @@ namespace GlitchyEngine.Renderer.Text
for(int i < atlasses.Count)
{
atlasses[i].ReleaseRef();
}
}*/
}
}
}