From 0142040ba997ac080adeae1918581b1f55572216 Mon Sep 17 00:00:00 2001 From: Paul Gofman Date: Tue, 27 May 2025 13:10:31 -0600 Subject: [PATCH] wineopenxr: Set __WINE_OPENXR_VK_DEVICE_EXTENSIONS in wine_openxr_init_once(). CW-Bug-Id: #25451 --- wineopenxr/openxr_loader.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wineopenxr/openxr_loader.c b/wineopenxr/openxr_loader.c index ac28288c..0c330fd4 100644 --- a/wineopenxr/openxr_loader.c +++ b/wineopenxr/openxr_loader.c @@ -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);