mirror of https://github.com/bjornbytes/lovr.git
Use correct origin type for fake headset;
This commit is contained in:
parent
c1b95c2bd6
commit
27b24e4de3
|
@ -260,10 +260,11 @@ static void fakeDestroy() {
|
|||
}
|
||||
|
||||
static void fakePoll() {
|
||||
//
|
||||
}
|
||||
|
||||
static bool fakeIsPresent() {
|
||||
return true;
|
||||
return true;
|
||||
}
|
||||
|
||||
static HeadsetType fakeGetType() {
|
||||
|
@ -271,20 +272,20 @@ static HeadsetType fakeGetType() {
|
|||
}
|
||||
|
||||
static HeadsetOrigin fakeGetOriginType() {
|
||||
//return ORIGIN_HEAD; // seated
|
||||
return ORIGIN_FLOOR; // standing
|
||||
return ORIGIN_HEAD;
|
||||
}
|
||||
|
||||
static bool fakeIsMirrored() {
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
static void fakeSetMirrored(bool mirror) {
|
||||
//
|
||||
}
|
||||
|
||||
static void fakeGetDisplayDimensions(int* width, int* height) {
|
||||
GLFWwindow* window = lovrGraphicsGetWindow();
|
||||
if(window) {
|
||||
if (window) {
|
||||
glfwGetWindowSize(window,width,height);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue