mirror of
https://github.com/ValveSoftware/Proton.git
synced 2026-01-09 14:27:58 -05:00
wineopenxr: Set __WINE_OPENXR_VK_DEVICE_EXTENSIONS in wine_openxr_init_once().
CW-Bug-Id: #25451
This commit is contained in:
committed by
Arkadiusz Hiler
parent
831ca5a645
commit
19453604d8
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user