From df31c2cde6a13299ab65dca351bfa78f84eea76c Mon Sep 17 00:00:00 2001 From: Delta <98419797+DeltaW0x@users.noreply.github.com> Date: Thu, 21 Nov 2024 18:14:40 +0100 Subject: [PATCH] Wrong paramenter in ImGui_ImplSDLGPU_RenderDrawData Accidentally left pipeline in ImGui_ImplSDLGPU_RenderDrawData --- examples/example_sdl3_sdlgpu/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/example_sdl3_sdlgpu/main.cpp b/examples/example_sdl3_sdlgpu/main.cpp index d78f9ebc4..6c29962dd 100644 --- a/examples/example_sdl3_sdlgpu/main.cpp +++ b/examples/example_sdl3_sdlgpu/main.cpp @@ -191,7 +191,7 @@ int main(int, char**) target_info.cycle = false; SDL_GPURenderPass* render_pass = SDL_BeginGPURenderPass(command_buffer, &target_info, 1, nullptr); /// Render ImGui - ImGui_ImplSDLGPU_RenderDrawData(draw_data, command_buffer, render_pass, pipeline); + ImGui_ImplSDLGPU_RenderDrawData(draw_data, command_buffer, render_pass); SDL_EndGPURenderPass(render_pass); } // Submit the command buffer