summaryrefslogtreecommitdiff
path: root/src/static-ui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/static-ui.cpp')
-rw-r--r--src/static-ui.cpp4
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;