xrt: Add size limit for swapchain

This commit is contained in:
Jiali Zhang 2023-09-26 20:12:50 +08:00 committed by Jakob Bornecrantz
parent 668a7a8bb9
commit bbb1de1b0f

View file

@ -852,6 +852,9 @@ struct xrt_compositor_info
//! Supported formats, never changes.
int64_t formats[XRT_MAX_SWAPCHAIN_FORMATS];
//! Max texture size that GPU supports, zero means any size.
uint32_t max_tetxure_size;
};
/*!