mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-02-13 17:20:09 +00:00
Fix crash when no hand tracking or controllers
This commit is contained in:
parent
72ff5cab80
commit
501d2c4fd5
|
@ -232,12 +232,14 @@ lighthouse_hand_track(struct u_system_devices *usysd,
|
|||
}
|
||||
|
||||
LH_INFO("Hand tracker successfully created\n");
|
||||
#endif
|
||||
|
||||
*out_sinks = sinks;
|
||||
out_devices[0] = two_hands[0];
|
||||
out_devices[1] = two_hands[1];
|
||||
return true;
|
||||
#endif
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue