Fix joystick free;

This commit is contained in:
bjorn 2016-08-09 23:34:40 -07:00
parent f396e62eba
commit 5b9b007f18
1 changed files with 2 additions and 0 deletions

View File

@ -6,6 +6,8 @@ extern OSVR_ClientContext ctx;
void lovrJoystickDestroy(Joystick* joystick) {
if (joystick->isTracked) {
osvrClientFreeInterface(ctx, joystick->osvrTrackerInterface);
int i;
OSVR_ClientInterface* interface;