Implemented depth buffering
This commit is contained in:
parent
09799eaa9b
commit
444a4586ea
6 changed files with 154 additions and 20 deletions
|
|
@ -162,6 +162,7 @@ pub fn create_device(self: *PhysicalDevice, surface: vk.Surface, allocator: Allo
|
|||
var device_properties: c.VkPhysicalDeviceProperties = undefined;
|
||||
c.vkGetPhysicalDeviceProperties(self.handle, &device_properties);
|
||||
|
||||
|
||||
return .{
|
||||
.handle = device,
|
||||
.graphics_queue = graphics_queue,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue