remove implicit conversion to pointer to fix 32-bit compile (#1488)

* remove implicit conversion to pointer to fix 32-bit compile

* fix formatting
This commit is contained in:
Ben Ashbaugh
2022-10-04 09:02:25 -07:00
committed by GitHub
parent dbd33bc9cf
commit 6659a1b6b8
3 changed files with 10 additions and 9 deletions

View File

@@ -183,7 +183,7 @@ bool checkVkSupport()
const VulkanInstance &instance = getVulkanInstance();
const VulkanPhysicalDeviceList &physicalDeviceList =
instance.getPhysicalDeviceList();
if (physicalDeviceList == NULL)
if (physicalDeviceList() == NULL)
{
std::cout << "physicalDeviceList is null, No GPUs found with "
"Vulkan support !!!\n";