The open source OpenXR runtime
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

u/space_overseer: fix locate_spaces flags

If one of the spaces is invalid, the code would set the flags to 0 for
the first space.

Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2538>

+1 -1
+1 -1
src/xrt/auxiliary/util/u_space_overseer.c
··· 605 605 for (uint32_t i = 0; i < space_count; i++) { 606 606 // spaces are allowed to be NULL 607 607 if (spaces[i] == NULL) { 608 - out_relations->relation_flags = XRT_SPACE_RELATION_BITMASK_NONE; 608 + out_relations[i].relation_flags = XRT_SPACE_RELATION_BITMASK_NONE; 609 609 continue; 610 610 } 611 611