diff options
| author | Jonathan Bradley <jcb@pikum.xyz> | 2025-11-14 15:57:04 -0500 |
|---|---|---|
| committer | Jonathan Bradley <jcb@pikum.xyz> | 2025-11-14 15:57:04 -0500 |
| commit | 4075c64ecb5a1f87ff5a324be9d43349f947ce62 (patch) | |
| tree | 87b6714348cc7b9db00a8e7db08209d7714326f6 /tests/pke-test-load-unload.cpp | |
| parent | e90e0e00be3bacadfecbd706d7943286c51fe840 (diff) | |
pke-test: FontTypeIndex -> FontTypeHandle
Diffstat (limited to 'tests/pke-test-load-unload.cpp')
| -rw-r--r-- | tests/pke-test-load-unload.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/pke-test-load-unload.cpp b/tests/pke-test-load-unload.cpp index 27c588a..ccd3fa4 100644 --- a/tests/pke-test-load-unload.cpp +++ b/tests/pke-test-load-unload.cpp @@ -7,7 +7,6 @@ #include "ecs.hpp" #include "entities.hpp" #include "game-settings.hpp" -#include "game.hpp" #include "level.hpp" #include "physics.hpp" #include "pke-test-stubs.h" @@ -143,7 +142,7 @@ int pke_test_load_unload_do_thing_002(int iteration) { pkeSettings.rt.nextLevel = level_01; pke_ui_box *bx = pke_ui_box_new_root(PKE_UI_BOX_TYPE_TEXT); FontRenderSettings frs_01{}; - bx->type_data->text.font_type_render = FontType_AddStringRender(FontTypeIndex{0}, std::move(cstring_to_pk_cstr("one")), &frs_01, bx); + bx->type_data->text.font_type_render = FontType_AddStringRender({0,0}, std::move(cstring_to_pk_cstr("one")), &frs_01, bx); bx->flags |= PKE_UI_BOX_FLAG_POSITION_TYPE_STATIC; pke_level_register_root_ui_box(level_01, bx); |
