From e26ec2a6850e777e15f3f30498c0fbd02fdc93f0 Mon Sep 17 00:00:00 2001 From: Stephen Gutekanst Date: Thu, 11 Aug 2022 14:04:13 -0700 Subject: [PATCH] gpu: correct RenderPassDescriptor.depth_stencil_attachment pointer type Signed-off-by: Stephen Gutekanst --- gpu/src/types.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,