The open source OpenXR runtime
0
fork

Configure Feed

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

st/oxr: Fix printing of the format in error message

+2 -2
+2 -2
src/xrt/state_trackers/oxr/oxr_api_swapchain.c
··· 78 78 79 79 if ((createInfo->usageFlags & ~flags) != 0) { 80 80 return oxr_error(&log, XR_ERROR_VALIDATION_FAILURE, 81 - "(createInfo->usageFlags == 0x08%" PRIx64 ") contains invalid flags", 81 + "(createInfo->usageFlags == 0x%04" PRIx64 ") contains invalid flags", 82 82 createInfo->usageFlags); 83 83 } 84 84 bool format_supported = false; ··· 92 92 93 93 if (!format_supported) { 94 94 return oxr_error(&log, XR_ERROR_SWAPCHAIN_FORMAT_UNSUPPORTED, 95 - "(createInfo->format == 0x08%" PRIx64 ") is not supported", createInfo->format); 95 + "(createInfo->format == 0x%04" PRIx64 ") is not supported", createInfo->format); 96 96 } 97 97 98 98 ret = sess->create_swapchain(&log, sess, createInfo, &sc);