mirror of
https://github.com/lbgos/rift-s-linux.git
synced 2026-10-29 04:02:05 +01:00
st/oxr: Don't return early when not using 'any' subpath
'any' is only set when xrSyncActions was called with XR_NULL_PATH. When only left or right is set, the already existing following code does the job.
This commit is contained in:
1 parent
9c16f5ed69
commit
4c8e3eb95f
1 file changed
-7
@@ -963,8 +963,6 @@ oxr_action_attachment_update(struct oxr_logger *log,
|
||||
|
||||
//! @todo "/user" sub-action path.
|
||||
|
||||
bool select_any = sub_paths.any;
|
||||
|
||||
#define UPDATE_SELECT(X) \
|
||||
bool select_##X = sub_paths.X || sub_paths.any; \
|
||||
oxr_action_cache_update(log, sess, &act_attached->X, time, select_##X);
|
||||
@@ -972,11 +970,6 @@ oxr_action_attachment_update(struct oxr_logger *log,
|
||||
OXR_FOR_EACH_VALID_SUBACTION_PATH(UPDATE_SELECT)
|
||||
#undef UPDATE_SELECT
|
||||
|
||||
if (!select_any) {
|
||||
U_ZERO(&act_attached->any_state);
|
||||
return;
|
||||
}
|
||||
|
||||
/*
|
||||
* Any state.
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user