Commit 9f8761bd authored by Jakob Bornecrantz's avatar Jakob Bornecrantz
Browse files

st/oxr: Tiny improvement to validation message

parent 3fde4a06
......@@ -630,10 +630,11 @@ verify_projection_layer(struct xrt_compositor *xc,
}
if (proj->viewCount != 2) {
return oxr_error(log, XR_ERROR_VALIDATION_FAILURE,
"(frameEndInfo->layers[%u]->viewCount == %u)"
" must be 2",
layer_index, proj->viewCount);
return oxr_error(
log, XR_ERROR_VALIDATION_FAILURE,
"(frameEndInfo->layers[%u]->viewCount == %u) must be 2 for "
"projection layers and the current view configuration",
layer_index, proj->viewCount);
}
// Check for valid swapchain states.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment