layer: Enable KHR_present_wait driconf in the layer

This commit is contained in:
Joshua Ashton 2023-05-05 20:18:46 +01:00 committed by Joshie
parent 799869e3c7
commit acef4c24ed

View file

@ -114,6 +114,8 @@ namespace GamescopeWSILayer {
createInfo.enabledExtensionCount = uint32_t(enabledExts.size());
createInfo.ppEnabledExtensionNames = enabledExts.data();
setenv("vk_khr_present_wait", "true", 0);
VkResult result = pfnCreateInstanceProc(&createInfo, pAllocator, pInstance);
if (result != VK_SUCCESS)
return result;