update to latest mach-core

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2023-08-13 09:32:59 -07:00
parent 0cd8a69100
commit 7f914d5354
3 changed files with 38 additions and 42 deletions

View file

@ -57,7 +57,7 @@ pub fn init(adapter: anytype) !void {
const uniform_buffer = core.device.createBuffer(&.{
.usage = .{ .copy_dst = true, .uniform = true },
.size = @sizeOf(UniformBufferObject),
.mapped_at_creation = false,
.mapped_at_creation = .false,
});
const bind_group = core.device.createBindGroup(
&gpu.BindGroup.Descriptor.init(.{