diff --git a/gpu/src/types.zig b/gpu/src/types.zig index 5e14ce46..4bdedb65 100644 --- a/gpu/src/types.zig +++ b/gpu/src/types.zig @@ -416,8 +416,8 @@ pub const Color = extern struct { pub const Extent3D = extern struct { width: u32, - height: u32, - depth_or_array_layers: u32, + height: u32 = 1, + depth_or_array_layers: u32 = 1, }; pub const Limits = extern struct {