Check against proper function pointer
This commit is contained in:
parent
9128de98b4
commit
bfb4b7607a
1 changed files with 1 additions and 1 deletions
|
|
@ -340,7 +340,7 @@ public:
|
|||
|
||||
// Get device push descriptor properties (to display them)
|
||||
PFN_vkGetPhysicalDeviceProperties2KHR vkGetPhysicalDeviceProperties2KHR = reinterpret_cast<PFN_vkGetPhysicalDeviceProperties2KHR>(vkGetInstanceProcAddr(instance, "vkGetPhysicalDeviceProperties2KHR"));
|
||||
if (!vkCmdPushDescriptorSetKHR) {
|
||||
if (!vkGetPhysicalDeviceProperties2KHR) {
|
||||
vks::tools::exitFatal("Could not get a valid function pointer for vkGetPhysicalDeviceProperties2KHR", -1);
|
||||
}
|
||||
VkPhysicalDeviceProperties2KHR deviceProps2{};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue