parent
f5919fc988
commit
97485ab357
6 changed files with 17 additions and 90 deletions
|
|
@ -522,6 +522,7 @@ void VulkanExampleBase::initVulkan(bool enableValidation)
|
|||
// Get the graphics queue
|
||||
vkGetDeviceQueue(device, graphicsQueueIndex, 0, &queue);
|
||||
|
||||
// Find a suitable depth format
|
||||
VkBool32 validDepthFormat = vkTools::getSupportedDepthFormat(physicalDevice, &depthFormat);
|
||||
assert(validDepthFormat);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue