aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2025-02-05 10:49:14 +0000
committergingerBill <bill@gingerbill.org>2025-02-05 10:49:14 +0000
commitbce43aa7dcbd2db50adf7201338b2da7b4e0d8e5 (patch)
tree1e0ff6d308c72e4083e04666b1b286a66ee1deea
parent898bea8a97ab811ff00a75dc92b70f7fe2fca679 (diff)
Make parameter `Maybe(^T)`
-rw-r--r--vendor/sdl3/sdl3_gpu.odin2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/sdl3/sdl3_gpu.odin b/vendor/sdl3/sdl3_gpu.odin
index 007b2b16f..da561b62b 100644
--- a/vendor/sdl3/sdl3_gpu.odin
+++ b/vendor/sdl3/sdl3_gpu.odin
@@ -810,7 +810,7 @@ foreign lib {
PushGPUVertexUniformData :: proc(command_buffer: ^GPUCommandBuffer, slot_index: Uint32, data: rawptr, length: Uint32) ---
PushGPUFragmentUniformData :: proc(command_buffer: ^GPUCommandBuffer, slot_index: Uint32, data: rawptr, length: Uint32) ---
PushGPUComputeUniformData :: proc(command_buffer: ^GPUCommandBuffer, slot_index: Uint32, data: rawptr, length: Uint32) ---
- BeginGPURenderPass :: proc(command_buffer: ^GPUCommandBuffer, color_target_infos: [^]GPUColorTargetInfo, num_color_targets: Uint32, #by_ptr depth_stencil_target_info: GPUDepthStencilTargetInfo) -> ^GPURenderPass ---
+ BeginGPURenderPass :: proc(command_buffer: ^GPUCommandBuffer, color_target_infos: [^]GPUColorTargetInfo, num_color_targets: Uint32, depth_stencil_target_info: Maybe(^GPUDepthStencilTargetInfo)) -> ^GPURenderPass ---
BindGPUGraphicsPipeline :: proc(render_pass: ^GPURenderPass, graphics_pipeline: ^GPUGraphicsPipeline) ---
SetGPUViewport :: proc(render_pass: ^GPURenderPass, #by_ptr viewport: GPUViewport) ---
SetGPUScissor :: proc(render_pass: ^GPURenderPass, #by_ptr scissor: Rect) ---