mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-01 12:46:12 +00:00
st/oxr: Use correct enum type when converting from eye visibility NFC
This commit is contained in:
parent
172ff0f434
commit
e4a4a5e7b2
|
@ -748,7 +748,7 @@ convert_layer_flags(XrSwapchainUsageFlags xr_flags)
|
|||
static enum xrt_layer_eye_visibility
|
||||
convert_eye_visibility(XrSwapchainUsageFlags xr_visibility)
|
||||
{
|
||||
enum xrt_layer_composition_flags visibility = 0;
|
||||
enum xrt_layer_eye_visibility visibility = 0;
|
||||
|
||||
if (xr_visibility == XR_EYE_VISIBILITY_BOTH) {
|
||||
visibility = XRT_LAYER_EYE_VISIBILITY_BOTH;
|
||||
|
|
Loading…
Reference in a new issue