mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-04 06:06:17 +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) {
|
||||
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.
|
||||
|
|
Loading…
Reference in a new issue