mirror of
https://github.com/lbgos/rift-s-linux.git
synced 2026-10-25 09:01:16 +01:00
c/main: Support 16 layers
This commit is contained in:
1 parent
1309164303
commit
1eaf4baf91
1 file changed
+3
@@ -1171,6 +1171,9 @@ xrt_gfx_provider_create_native(struct xrt_device *xdev)
|
||||
|
||||
struct xrt_compositor_info *info = &c->base.base.info;
|
||||
|
||||
// Required by OpenXR spec.
|
||||
info->max_layers = 16;
|
||||
|
||||
memcpy(info->compositor_vk_deviceUUID,
|
||||
c->settings.selected_gpu_deviceUUID, XRT_GPU_UUID_SIZE);
|
||||
|
||||
|
||||
Reference in new issue
Block a user