diff --git a/gpu/src/types.zig b/gpu/src/types.zig index 00067677..20f82b06 100644 --- a/gpu/src/types.zig +++ b/gpu/src/types.zig @@ -60,7 +60,7 @@ pub const RenderPassDescriptor = extern struct { label: ?[*:0]const u8 = null, color_attachment_count: u32 = 0, color_attachments: ?[*]const RenderPassColorAttachment = null, - depth_stencil_attachment: ?[*]const RenderPassDepthStencilAttachment = null, + depth_stencil_attachment: ?*const RenderPassDepthStencilAttachment = null, occlusion_query_set: ?*QuerySet = null, timestamp_write_count: u32 = 0, timestamp_writes: ?[*]const RenderPassTimestampWrite = null,