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) {