parent
67f1c2904c
commit
a8a3eb01ab
1 changed files with 1 additions and 1 deletions
|
|
@ -300,8 +300,8 @@ namespace vks
|
||||||
deviceCreateInfo.pEnabledFeatures = &enabledFeatures;
|
deviceCreateInfo.pEnabledFeatures = &enabledFeatures;
|
||||||
|
|
||||||
// If a pNext(Chain) has been passed, we need to add it to the device creation info
|
// If a pNext(Chain) has been passed, we need to add it to the device creation info
|
||||||
|
VkPhysicalDeviceFeatures2 physicalDeviceFeatures2{};
|
||||||
if (pNextChain) {
|
if (pNextChain) {
|
||||||
VkPhysicalDeviceFeatures2 physicalDeviceFeatures2{};
|
|
||||||
physicalDeviceFeatures2.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FEATURES_2;
|
physicalDeviceFeatures2.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FEATURES_2;
|
||||||
physicalDeviceFeatures2.features = enabledFeatures;
|
physicalDeviceFeatures2.features = enabledFeatures;
|
||||||
physicalDeviceFeatures2.pNext = pNextChain;
|
physicalDeviceFeatures2.pNext = pNextChain;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue