The open source OpenXR runtime
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

c/main: Improve warning print for VkSurfaceFormat mismatch

Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2454>

authored by

Jakob Bornecrantz and committed by
Rylie Pavlik
5d969701 90334cc4

+5 -1
+5 -1
src/xrt/compositor/main/comp_target_swapchain.c
··· 1 1 // Copyright 2019-2021, Collabora, Ltd. 2 + // Copyright 2024-2025, NVIDIA CORPORATION. 2 3 // SPDX-License-Identifier: BSL-1.0 3 4 /*! 4 5 * @file ··· 285 286 return false; 286 287 } 287 288 288 - COMP_WARN(cts->base.c, "Returning known-wrong color space! Color shift may occur."); 289 + COMP_WARN(cts->base.c, 290 + "Returning VkSurfaceFormat with known-wrong color space!\n" 291 + "\tVkSurfaceFormat::format matched one we wanted.\n" 292 + "\tBut color shift will probably be happening."); 289 293 290 294 done: 291 295 COMP_DEBUG(cts->base.c,