mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-06 07:06:10 +00:00
st/oxr: Tiny improvement to validation message
This commit is contained in:
parent
3fde4a0651
commit
9f8761bd50
|
@ -630,10 +630,11 @@ verify_projection_layer(struct xrt_compositor *xc,
|
||||||
}
|
}
|
||||||
|
|
||||||
if (proj->viewCount != 2) {
|
if (proj->viewCount != 2) {
|
||||||
return oxr_error(log, XR_ERROR_VALIDATION_FAILURE,
|
return oxr_error(
|
||||||
"(frameEndInfo->layers[%u]->viewCount == %u)"
|
log, XR_ERROR_VALIDATION_FAILURE,
|
||||||
" must be 2",
|
"(frameEndInfo->layers[%u]->viewCount == %u) must be 2 for "
|
||||||
layer_index, proj->viewCount);
|
"projection layers and the current view configuration",
|
||||||
|
layer_index, proj->viewCount);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Check for valid swapchain states.
|
// Check for valid swapchain states.
|
||||||
|
|
Loading…
Reference in a new issue