Skip to content

Commit f6aa4bb

Browse files
authored
fix sdl3 gpu prepare draw data function (#82)
1 parent ccc38b5 commit f6aa4bb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend_sdl3_gpu.zig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ pub fn render() void {
4444
pub fn prepareDrawData(
4545
command_buffer: *const anyopaque, // SDL_GPUCommandBuffer
4646
) void {
47-
Imgui_ImplSDLGPU3_PrepareDrawData(gui.getDrawData(), command_buffer);
47+
ImGui_ImplSDLGPU3_PrepareDrawData(gui.getDrawData(), command_buffer);
4848
}
4949

5050
pub fn renderDrawData(
@@ -65,7 +65,7 @@ pub fn renderDrawData(
6565
extern fn ImGui_ImplSDLGPU3_Init(info: *const anyopaque) bool;
6666
extern fn ImGui_ImplSDLGPU3_Shutdown() void;
6767
extern fn ImGui_ImplSDLGPU3_NewFrame() void;
68-
extern fn Imgui_ImplSDLGPU3_PrepareDrawData(
68+
extern fn ImGui_ImplSDLGPU3_PrepareDrawData(
6969
draw_data: *const anyopaque,
7070
command_buffer: *const anyopaque, // SDL_GPUCommandBuffer
7171
) void;

0 commit comments

Comments
 (0)