Merge pull request #208 from unexploredtest/master
vkEnumeratePhysicalDevices(*(this->mInstance) ... doesn't work on Linux i386
This commit is contained in:
commit
ae7eca04de
1 changed files with 1 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue