mirror of
https://github.com/ValveSoftware/Proton.git
synced 2025-05-29 14:57:49 +03:00
wineopenxr: Set __WINE_OPENXR_VK_DEVICE_EXTENSIONS in wine_openxr_init_once().
CW-Bug-Id: #25451
This commit is contained in:
parent
672da0978f
commit
0142040ba9
@ -230,6 +230,8 @@ static XrResult wine_openxr_init_once(void) {
|
||||
return XR_ERROR_INITIALIZATION_FAILED;
|
||||
}
|
||||
|
||||
TRACE("g_device_extensions %s.\n", g_device_extensions);
|
||||
__wine_set_unix_env(WINE_VULKAN_DEVICE_VARIABLE, g_device_extensions);
|
||||
return XR_SUCCESS;
|
||||
}
|
||||
|
||||
@ -1964,8 +1966,6 @@ XrResult WINAPI __wineopenxr_GetVulkanDeviceExtensions(uint32_t buflen, uint32_t
|
||||
return XR_SUCCESS;
|
||||
}
|
||||
|
||||
TRACE("g_device_extensions %s.\n", g_device_extensions);
|
||||
__wine_set_unix_env(WINE_VULKAN_DEVICE_VARIABLE, g_device_extensions);
|
||||
*outlen = strlen(WINE_VULKAN_DEVICE_EXTENSION_NAME) + 1;
|
||||
strcpy(buf, WINE_VULKAN_DEVICE_EXTENSION_NAME);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user