diff options
Diffstat (limited to 'stable_diffusion.cpp')
-rw-r--r-- | stable_diffusion.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/stable_diffusion.cpp b/stable_diffusion.cpp index 3d0c26b..4da327d 100644 --- a/stable_diffusion.cpp +++ b/stable_diffusion.cpp @@ -254,12 +254,12 @@ static void Curl_Main(project_data *File, project_state *State, memory *Memory, curl_state *MainHandle, curl_state *ProgHandle) { if (State->CurlActive == -1) { - Curl_GET_Init(MainHandle, State->Dump1, State->JSONPayload, State->SD.ServerAddress, State->SD.Mode); + Curl_GET_Init(MainHandle, State->Dump1, State->JSONPayload, File->UI.SD.ServerAddress, File->UI.SD.Mode); Curl_Prog_Init(ProgHandle, State->Dump2); State->CurlActive = 1; } else { if (Curl_Check(MainHandle) == 1) { - SD_JSONToSource(File, State, Memory, State->Dump1, State->SD.Height, State->SD.Width); + SD_JSONToSource(File, State, Memory, State->Dump1, File->UI.SD.Height, File->UI.SD.Width); Curl_StopAll(State, ProgHandle, MainHandle); } uint64 Time = ImGui::GetTime(); |