Merge pull request #208 from unexploredtest/master

vkEnumeratePhysicalDevices(*(this->mInstance) ... doesn't work on Linux i386
This commit is contained in:
Alejandro Saucedo 2021-04-17 07:38:57 +01:00 committed by GitHub
commit ae7eca04de
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -290,7 +290,7 @@ Manager::createDevice(const std::vector<uint32_t>& 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) {