From 55c518b2922a2d8a41212a952a68c17c7c9a3f8b Mon Sep 17 00:00:00 2001 From: Jonathan Bradley Date: Thu, 5 Jun 2025 10:50:24 -0400 Subject: pk.h: update to 0.6.0 + handle breaking changes --- editor/editor.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'editor/editor.cpp') diff --git a/editor/editor.cpp b/editor/editor.cpp index 938f3ef..13debfe 100644 --- a/editor/editor.cpp +++ b/editor/editor.cpp @@ -768,12 +768,12 @@ int SortFontGlyphChar(const void *a, const void *b) { void GenerateMTSDF(FontTypeMSDFSettings *msdf_settings, const Asset *a) { static pk_arr *required_font_glyph_chars_arr; - required_font_glyph_chars_arr = pk_new(pkeSettings.mem.bkt); + required_font_glyph_chars_arr = pk_new(pkeSettings.mem_bkt.game_transient); required_font_glyph_chars_arr->next = 0; required_font_glyph_chars_arr->reserved = 0; required_font_glyph_chars_arr->stride = sizeof(FontGlyphChar); required_font_glyph_chars_arr->alignment = alignof(FontGlyphChar); - required_font_glyph_chars_arr->bkt = pkeSettings.mem.bkt; + required_font_glyph_chars_arr->bkt = pkeSettings.mem_bkt.game_transient; required_font_glyph_chars_arr->data = nullptr; pk_arr_reserve(required_font_glyph_chars_arr, 3); -- cgit v1.2.3