1
0
Fork 0
mirror of https://github.com/bjornbytes/lovr.git synced 2024-07-03 04:53:35 +00:00

Fix pointer issue;

This commit is contained in:
bjorn 2016-09-24 22:38:48 -07:00
parent 6220cf73f4
commit 9ce7ba8c0a

View file

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