gpu: correct Buffer.mapped_at_creation default
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
5bd33af68f
commit
c5b565d0ce
1 changed files with 1 additions and 1 deletions
|
|
@ -62,7 +62,7 @@ pub const Buffer = opaque {
|
||||||
label: ?[*:0]const u8 = null,
|
label: ?[*:0]const u8 = null,
|
||||||
usage: UsageFlags,
|
usage: UsageFlags,
|
||||||
size: u64,
|
size: u64,
|
||||||
mapped_at_creation: bool = true,
|
mapped_at_creation: bool = false,
|
||||||
};
|
};
|
||||||
|
|
||||||
pub inline fn destroy(buffer: *Buffer) void {
|
pub inline fn destroy(buffer: *Buffer) void {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue