st/oxr: Enumerate outputs too in xrEnumerateBoundSourcesForAction

Fixes #118
This commit is contained in:
Christoph Haag 2021-09-20 00:27:51 +02:00
parent b4ce66a5dc
commit d54c489738

View file

@ -1563,6 +1563,11 @@ oxr_action_enumerate_bound_sources(struct oxr_logger *log,
for (uint32_t i = 0; i < act_attached->X.num_inputs; i++) { \
add_path_to_set(temp, act_attached->X.inputs[i].bound_path, &num_paths); \
} \
} \
if (act_attached->X.num_outputs > 0) { \
for (uint32_t i = 0; i < act_attached->X.num_outputs; i++) { \
add_path_to_set(temp, act_attached->X.outputs[i].bound_path, &num_paths); \
} \
}
OXR_FOR_EACH_SUBACTION_PATH(ACCUMULATE_PATHS)