changing the way deviceCount is obtained for compatibality
This commit is contained in:
parent
5ae634837f
commit
629c6e38ce
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