[Soft] fixing command buffer creation
This commit is contained in:
@@ -128,9 +128,10 @@ pub fn create(device: *base.Device, allocator: std.mem.Allocator, info: *const v
|
|||||||
|
|
||||||
self.* = .{
|
self.* = .{
|
||||||
.interface = interface,
|
.interface = interface,
|
||||||
.command_allocator = .init(interface.host_allocator.allocator()),
|
.command_allocator = undefined,
|
||||||
.commands = .empty,
|
.commands = .empty,
|
||||||
};
|
};
|
||||||
|
self.command_allocator = .init(interface.host_allocator.allocator());
|
||||||
return self;
|
return self;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user