We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31dadbe commit b0ecee0Copy full SHA for b0ecee0
src/Headset.cpp
@@ -290,7 +290,7 @@ Headset::Headset(const Context* context) : context(context)
290
swapchainCreateInfo.arraySize = static_cast<uint32_t>(eyeCount);
291
swapchainCreateInfo.faceCount = 1u;
292
swapchainCreateInfo.mipCount = 1u;
293
- swapchainCreateInfo.usageFlags = XR_SWAPCHAIN_USAGE_COLOR_ATTACHMENT_BIT;
+ swapchainCreateInfo.usageFlags = XR_SWAPCHAIN_USAGE_COLOR_ATTACHMENT_BIT | XR_SWAPCHAIN_USAGE_TRANSFER_SRC_BIT;
294
295
result = xrCreateSwapchain(session, &swapchainCreateInfo, &swapchain);
296
if (XR_FAILED(result))
0 commit comments