Backends: SDL2/SDL3: Fixed bad merge in docking branch (#6735)

This commit is contained in:
ocornut 2023-08-26 11:45:21 +02:00
parent 61d35972e2
commit 475453668d
2 changed files with 2 additions and 2 deletions

View File

@ -548,7 +548,7 @@ bool ImGui_ImplSDL2_InitForSDLRenderer(SDL_Window* window, SDL_Renderer* rendere
bool ImGui_ImplSDL2_InitForOther(SDL_Window* window)
{
return ImGui_ImplSDL2_Init(window, nullptr);
return ImGui_ImplSDL2_Init(window, nullptr, nullptr);
}
void ImGui_ImplSDL2_Shutdown()

View File

@ -475,7 +475,7 @@ bool ImGui_ImplSDL3_InitForSDLRenderer(SDL_Window* window, SDL_Renderer* rendere
bool ImGui_ImplSDL3_InitForOther(SDL_Window* window)
{
return ImGui_ImplSDL3_Init(window, nullptr);
return ImGui_ImplSDL3_Init(window, nullptr, nullptr);
}
void ImGui_ImplSDL3_Shutdown()