From d49b7a62e8a037bcdd1f6f15c2f1db39be44ff31 Mon Sep 17 00:00:00 2001 From: Concedo <39025047+LostRuins@users.noreply.github.com> Date: Fri, 7 Aug 2026 14:44:54 +0800 Subject: [PATCH] fixed compile order --- otherarch/sdcpp/sdtype_adapter.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/otherarch/sdcpp/sdtype_adapter.cpp b/otherarch/sdcpp/sdtype_adapter.cpp index 79a872d8c..35aa8a485 100644 --- a/otherarch/sdcpp/sdtype_adapter.cpp +++ b/otherarch/sdcpp/sdtype_adapter.cpp @@ -291,6 +291,8 @@ std::string load_gpt_oss_vocab_json() return load_embd_file(cache, "embd_res/gpt_oss_vocab_json.embd"); } +static void step_callback(int step, int frame_count, sd_image_t* image, bool is_noisy, void* data); + static void progress_callback(int step, int steps, float time, void* data) { (void) data; @@ -317,8 +319,6 @@ static void progress_callback(int step, int steps, float time, void* data) fflush(stdout); } -static void step_callback(int step, int frame_count, sd_image_t* image, bool is_noisy, void* data); - static bool is_video_model(kcpp_sd::model_info info) { return info.is_wan || info.is_ltx || info.is_minimaxh3;