diff options
| author | Jonathan Bradley <jcb@pikum.xyz> | 2025-06-16 09:51:00 -0400 |
|---|---|---|
| committer | Jonathan Bradley <jcb@pikum.xyz> | 2025-06-16 09:51:00 -0400 |
| commit | 66ebed74456f76277597b3b07f3e67cc45388ece (patch) | |
| tree | 5e7d0c429867a294bca78269124954ce0a4823fc /src/static-ui.cpp | |
| parent | c1ad6ceeb301bc1f2a4f850e08587748a6d9107b (diff) | |
pke: update FontRender text (editor: for ui-box)
Diffstat (limited to 'src/static-ui.cpp')
| -rw-r--r-- | src/static-ui.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/static-ui.cpp b/src/static-ui.cpp index c6b7108..81e0511 100644 --- a/src/static-ui.cpp +++ b/src/static-ui.cpp @@ -44,6 +44,10 @@ void pke_ui_init() { pke_ui_master.bindings = {}; } +void pke_ui_force_recalc() { + pke_ui_master.should_recalc_ui = true; +} + void pke_ui_init_bindings() { pkvk_buffer_create_data create_data{}; create_data.buffer_byte_length[0] = sizeof(pkeIntrinsicsPlane.vert[0]) * 4; |
