layer: Enable KHR_present_wait driconf in the layer
This commit is contained in:
parent
799869e3c7
commit
acef4c24ed
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue