gpu: correct Buffer.mapped_at_creation default

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-08-11 17:07:34 -07:00 committed by Stephen Gutekanst
parent 5bd33af68f
commit c5b565d0ce

View file

@ -62,7 +62,7 @@ pub const Buffer = opaque {
label: ?[*:0]const u8 = null,
usage: UsageFlags,
size: u64,
mapped_at_creation: bool = true,
mapped_at_creation: bool = false,
};
pub inline fn destroy(buffer: *Buffer) void {