The open source OpenXR runtime
0
fork

Configure Feed

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

st/oxr: Fix typo in oxr_binding_find_bindings_from_key signature

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

authored by

Christoph Haag and committed by
Marge Bot
7d368a6e 5c4b1da5

+5 -5
+3 -3
src/xrt/state_trackers/oxr/oxr_binding.c
··· 400 400 oxr_binding_find_bindings_from_key(struct oxr_logger *log, 401 401 struct oxr_interaction_profile *profile, 402 402 uint32_t key, 403 - size_t max_bounding_count, 403 + size_t max_binding_count, 404 404 struct oxr_binding **out_bindings, 405 405 size_t *out_binding_count) 406 406 { ··· 427 427 } 428 428 429 429 //! @todo Should return total count instead of fixed max. 430 - if (binding_count >= max_bounding_count) { 430 + if (binding_count >= max_binding_count) { 431 431 oxr_warn(log, "Internal limit reached, action has too many bindings!"); 432 432 break; 433 433 } 434 434 } 435 435 436 - assert(binding_count <= max_bounding_count); 436 + assert(binding_count <= max_binding_count); 437 437 438 438 *out_binding_count = binding_count; 439 439 }
+1 -1
src/xrt/state_trackers/oxr/oxr_input.c
··· 734 734 log, // log 735 735 profile, // p 736 736 act_ref->act_key, // key 737 - ARRAY_SIZE(binding_points), // max_bounding_count 737 + ARRAY_SIZE(binding_points), // max_binding_count 738 738 binding_points, // out_bindings 739 739 &binding_count); // out_binding_count 740 740 if (binding_count == 0) {
+1 -1
src/xrt/state_trackers/oxr/oxr_objects.h
··· 684 684 oxr_binding_find_bindings_from_key(struct oxr_logger *log, 685 685 struct oxr_interaction_profile *profile, 686 686 uint32_t key, 687 - size_t max_bounding_count, 687 + size_t max_binding_count, 688 688 struct oxr_binding **out_bindings, 689 689 size_t *out_binding_count); 690 690