some cleanup

This commit is contained in:
2026-05-18 23:19:40 -05:00
parent 7167d98cb6
commit 221cfa5e9c
7 changed files with 765 additions and 764 deletions
+2 -2
View File
@@ -18,7 +18,7 @@ public class Program
public static void Main()
{
SDL3Window window = new SDL3Window("SDL3 Testing Suite", 100, 100, 1280, 720);
window.RenderCallback = () =>
window.RenderCallback += () =>
{
ImGuiViewportPtr viewport = ImGui.GetMainViewport();
ImGui.SetNextWindowPos(viewport.WorkPos);
@@ -65,7 +65,7 @@ public class Program
fontName = string.IsNullOrEmpty(fontName) ? _font.FontId.ToString() : fontName;
if (!_initialized || change)
{
if (!GlyphsByName.TryGetValue(fontName, out List<uint> glyphs))
if (!GlyphsByName.TryGetValue(fontName, out List<uint>? glyphs))
{
glyphs = new List<uint>();