mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-04 06:06:17 +00:00
c/util: Print warning when attempting to create protected content swapchain
This commit is contained in:
parent
22c7fea639
commit
322ce27163
|
@ -280,7 +280,9 @@ comp_swapchain_create(struct vk_bundle *vk,
|
|||
}
|
||||
|
||||
if ((info->create & XRT_SWAPCHAIN_CREATE_PROTECTED_CONTENT) != 0) {
|
||||
// This compositor doesn't support creating protected content swapchains.
|
||||
VK_WARN(vk,
|
||||
"Swapchain info is valid but this compositor doesn't support creating protected content "
|
||||
"swapchains!");
|
||||
return XRT_ERROR_SWAPCHAIN_FLAG_VALID_BUT_UNSUPPORTED;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue