Destroy clipper each frame

This stops a memory leak from happening, as far as I can see the clipper should be destroyed as it's being created in the same draw call.
This commit is contained in:
Blair 2023-02-08 22:59:44 +10:00 committed by GitHub
parent 66bc1e47aa
commit e29e1b35ec
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -331,6 +331,7 @@ internal class ConsoleWindow : Window, IDisposable
}
clipper.End();
clipper.Destroy();
}
ImGui.PopFont();