mirror of https://github.com/bjornbytes/lovr.git
Fix pointer issue;
This commit is contained in:
parent
6220cf73f4
commit
9ce7ba8c0a
|
@ -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()) {
|
||||
|
|
Loading…
Reference in New Issue