Fix pointer issue;

This commit is contained in:
bjorn 2016-09-24 22:38:48 -07:00
parent 6220cf73f4
commit 9ce7ba8c0a
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ Headset* viveInit() {
Headset* this = malloc(sizeof(Headset));
ViveState* state = malloc(sizeof(ViveState));
this->state = &state;
this->state = state;
this->interface = &interface;
if (!VR_IsHmdPresent()) {