mirror of https://github.com/bjornbytes/lovr.git
Fix joystick free;
This commit is contained in:
parent
f396e62eba
commit
5b9b007f18
|
@ -6,6 +6,8 @@ extern OSVR_ClientContext ctx;
|
|||
|
||||
void lovrJoystickDestroy(Joystick* joystick) {
|
||||
if (joystick->isTracked) {
|
||||
osvrClientFreeInterface(ctx, joystick->osvrTrackerInterface);
|
||||
|
||||
int i;
|
||||
OSVR_ClientInterface* interface;
|
||||
|
||||
|
|
Loading…
Reference in New Issue