deinit
Parameters
Source
Implementation
pub fn deinit(self: *Entry, gpa: std.mem.Allocator, backend: Backend) void {
defer self.* = undefined;
gpa.free(self.name);
self.glyph_info.deinit(gpa);
if (impl == .FreeType) {
_ = c.FT_Done_Face(self.face);
}
if (self.texture_atlas_cache) |tex| backend.textureDestroy(tex);
}