wineopenxr: Don't recreate swapchain images for subsequent calls to EnumerateSwapchainImages.

This commit is contained in:
Yuxuan Shui 2024-05-08 15:11:24 +01:00 committed by Arkadiusz Hiler
parent 0181ecc872
commit 2cf4673153
2 changed files with 54 additions and 22 deletions

View file

@ -49,6 +49,8 @@ typedef struct wine_XrSession {
typedef struct wine_XrSwapchain{
XrSwapchain swapchain;
XrSwapchainImageBaseHeader *images;
uint32_t image_count;
struct wine_XrSession *wine_session;
XrSwapchainCreateInfo create_info;