diff options
| author | David Snopek <dsnopek@gmail.com> | 2024-05-14 10:43:44 -0500 |
|---|---|---|
| committer | David Snopek <dsnopek@gmail.com> | 2024-05-14 10:43:44 -0500 |
| commit | 45a02c28cdcae273b5ec19d6062bef288b9f620f (patch) | |
| tree | dbed1c3f2730cb7df49d0d8feebe2da050e9ea9d | |
| parent | 78cce1954ddb6fefb90b33742215f304ec7b0b94 (diff) | |
| download | redot-engine-45a02c28cdcae273b5ec19d6062bef288b9f620f.tar.gz | |
Fix sample count on OpenXR composition layers
| -rw-r--r-- | modules/openxr/extensions/openxr_composition_layer_extension.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/openxr/extensions/openxr_composition_layer_extension.cpp b/modules/openxr/extensions/openxr_composition_layer_extension.cpp index fb21c45fd8..994b08af53 100644 --- a/modules/openxr/extensions/openxr_composition_layer_extension.cpp +++ b/modules/openxr/extensions/openxr_composition_layer_extension.cpp @@ -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) { |
