st/oxr: Unreleased swapchain must return XR_ERROR_LAYER_INVALID.

This commit is contained in:
Lubosz Sarnecki 2020-04-23 14:48:33 +02:00 committed by Jakob Bornecrantz
parent d8538d3a2f
commit 03074cd52e

View file

@ -541,7 +541,7 @@ oxr_session_frame_end(struct oxr_logger *log,
if (sc->released_index == -1) {
return oxr_error(
log, XR_ERROR_CALL_ORDER_INVALID,
log, XR_ERROR_LAYER_INVALID,
"(frameEndInfo->layers[0]->views[%i].subImage."
"swapchain) Swapchain has not been released!",
i);