diff --git a/src_v2/lumenarium_first.h b/src_v2/lumenarium_first.h index 779519f..e1037b8 100644 --- a/src_v2/lumenarium_first.h +++ b/src_v2/lumenarium_first.h @@ -114,9 +114,8 @@ void sculpture_updated(App_State* state, r32 scale, r32 led_size); #include "engine/output/lumenarium_output_uart.c" #include "engine/output/lumenarium_output_sacn.c" -internal void incenter_sculpture_visualizer_ui(App_State* state, Editor* ed); - #if defined(PLATFORM_SUPPORTS_EDITOR) +internal void incenter_sculpture_visualizer_ui(App_State* state, Editor* ed); # include "editor/lumenarium_editor_ui.c" # include "editor/lumenarium_editor_renderer.c" # include "editor/lumenarium_editor_sculpture_visualizer.c" diff --git a/src_v2/user_space/incenter_user_space.c b/src_v2/user_space/incenter_user_space.c index 343be10..2d1bda2 100644 --- a/src_v2/user_space/incenter_user_space.c +++ b/src_v2/user_space/incenter_user_space.c @@ -189,6 +189,7 @@ incenter_frame_prepare(App_State* state) } +#if defined(PLATFORM_SUPPORTS_EDITOR) internal void incenter_sculpture_visualizer_ui(App_State* state, Editor* ed) { @@ -204,6 +205,7 @@ incenter_sculpture_visualizer_ui(App_State* state, Editor* ed) ui_layout_pop(&ed->ui); } +#endif internal void incenter_frame(App_State* state)