mirror of
https://github.com/ocornut/imgui.git
synced 2024-11-23 23:31:08 +01:00
Wrong paramenter in ImGui_ImplSDLGPU_RenderDrawData
Accidentally left pipeline in ImGui_ImplSDLGPU_RenderDrawData
This commit is contained in:
parent
7e0fdaeab8
commit
df31c2cde6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user