gpu: update BufferDescription defaults/optionality

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-07-26 23:41:01 -07:00 committed by Stephen Gutekanst
parent 4863d9dfc8
commit f300761441

View file

@ -107,5 +107,5 @@ pub const BufferDescriptor = extern struct {
label: ?[*:0]const u8 = null,
usage: BufferUsage,
size: u64,
mapped_at_creation: bool,
mapped_at_creation: bool = true,
};