From 9f06b1a25e92083c624b9cd35c7ef3716c1ac0df Mon Sep 17 00:00:00 2001 From: Jakob Bornecrantz Date: Fri, 7 Apr 2023 21:01:22 +0100 Subject: [PATCH] c/util: Always request sampled in extra bits --- src/xrt/compositor/util/comp_swapchain.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/xrt/compositor/util/comp_swapchain.c b/src/xrt/compositor/util/comp_swapchain.c index 47ec70fa4..5b4c69e90 100644 --- a/src/xrt/compositor/util/comp_swapchain.c +++ b/src/xrt/compositor/util/comp_swapchain.c @@ -416,6 +416,7 @@ comp_swapchain_get_create_properties(const struct xrt_swapchain_create_info *inf U_ZERO(xsccp); xsccp->image_count = image_count; + xsccp->extra_bits = XRT_SWAPCHAIN_USAGE_SAMPLED; return XRT_SUCCESS; }