mirror of
https://github.com/bjornbytes/lovr.git
synced 2024-07-05 05:53:33 +00:00
Fix pointer issue;
This commit is contained in:
parent
6220cf73f4
commit
9ce7ba8c0a
|
@ -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()) {
|
||||||
|
|
Loading…
Reference in a new issue