diff options
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); |
