Merge pull request #91952 from dsnopek/openxr-composition-layer-sample-count

Fix sample count on OpenXR composition layers
This commit is contained in:
Rémi Verschelde 2024-05-14 18:10:14 +02:00
commit 4971b71899
No known key found for this signature in database
GPG Key ID: C3336907360768E1

View File

@ -286,7 +286,7 @@ bool OpenXRViewportCompositionLayerProvider::update_and_acquire_swapchain(bool p
// Create our new swap chain
int64_t swapchain_format = openxr_api->get_color_swapchain_format();
const uint32_t sample_count = 3;
const uint32_t sample_count = 1;
const uint32_t array_size = 1;
XrSwapchainCreateFlags create_flags = 0;
if (p_static_image) {