From 629c6e38cec243a319e5f4065aa75422db4188bd Mon Sep 17 00:00:00 2001 From: unexploredtest Date: Fri, 16 Apr 2021 17:22:17 +0430 Subject: [PATCH] changing the way deviceCount is obtained for compatibality --- src/Manager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Manager.cpp b/src/Manager.cpp index 025ff804c..2ed6aa4df 100644 --- a/src/Manager.cpp +++ b/src/Manager.cpp @@ -290,7 +290,7 @@ Manager::createDevice(const std::vector& familyQueueIndices, // Getting an integer that says how many vuklan devices we have uint32_t deviceCount = 0; - vkEnumeratePhysicalDevices(*(this->mInstance), &deviceCount, nullptr); + this->mInstance->enumeratePhysicalDevices(&deviceCount, nullptr); // This means there are no devices at all if (deviceCount == 0) {