mirror of
https://github.com/aharabada/glitchy-engine-beef.git
synced 2026-09-05 13:01:52 +00:00
Fixed anoying access violation in font desctructor by leaking memory 🤷
This commit is contained in:
@@ -40,8 +40,9 @@ namespace GlitchyEngine.Renderer.Text
|
|||||||
public bool IsRendered = false;
|
public bool IsRendered = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
internal FT_Face _face ~ FreeType.Done_Face(_face);
|
// TODO: I don't understand why freeing the face and hb_font sometimes results in an access violation...
|
||||||
internal hb_font_t* _harfBuzzFont ~ hb_font_destroy(_);
|
internal FT_Face _face;//TODO!: ~ FreeType.Done_Face(_face);
|
||||||
|
internal hb_font_t* _harfBuzzFont;//TODO:!! ~ hb_font_destroy(_);
|
||||||
|
|
||||||
private Font _fallback ~ _?.ReleaseRef();
|
private Font _fallback ~ _?.ReleaseRef();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user