diff options
author | Brad Davis <[email protected]> | 2015-03-17 12:38:58 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2015-03-17 12:38:58 +0100 |
commit | 6affd0dec1bb50d2df258e114d20ec848efad6e0 (patch) | |
tree | ef19a43f74ebae1552f1d36d9585fcb83a5e89b5 /LibOVR | |
parent | e2c8888763eb304f92dcea89047655f402f3a9c5 (diff) |
Fixing DK2 screen parameters for linux, windows and osx
Diffstat (limited to 'LibOVR')
-rw-r--r-- | LibOVR/Src/OVR_Linux_HMDDevice.cpp | 2 | ||||
-rw-r--r-- | LibOVR/Src/OVR_OSX_HMDDevice.cpp | 2 | ||||
-rw-r--r-- | LibOVR/Src/OVR_Win32_HMDDevice.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/LibOVR/Src/OVR_Linux_HMDDevice.cpp b/LibOVR/Src/OVR_Linux_HMDDevice.cpp index 98143d3..f797bd7 100644 --- a/LibOVR/Src/OVR_Linux_HMDDevice.cpp +++ b/LibOVR/Src/OVR_Linux_HMDDevice.cpp @@ -239,7 +239,7 @@ void HMDDeviceFactory::EnumerateDevices(EnumerateVisitor& visitor) // Hard-coded defaults in case the device doesn't have the data itself. if (strstr(device_id, "OVR0003")) { // DK2 prototypes and variants (default to HmdType_DK2) - hmdCreateDesc.SetScreenParameters(mx, my, 1920, 1080, 0.12576f, 0.07074f, 0.12576f*0.5f, 0.0635f ); + hmdCreateDesc.SetScreenParameters(mx, my, 1920, 1080, 0.12576f, 0.07074f, 0.07074f*0.5f, 0.0635f ); } else if (strstr(device_id, "OVR0002")) { // HD Prototypes (default to HmdType_DKHDProto) diff --git a/LibOVR/Src/OVR_OSX_HMDDevice.cpp b/LibOVR/Src/OVR_OSX_HMDDevice.cpp index edf940d..7a9796c 100644 --- a/LibOVR/Src/OVR_OSX_HMDDevice.cpp +++ b/LibOVR/Src/OVR_OSX_HMDDevice.cpp @@ -229,7 +229,7 @@ void HMDDeviceFactory::EnumerateDevices(EnumerateVisitor& visitor) if (product == 3) { // DK2 prototypes and variants (default to HmdType_DK2) hmdCreateDesc.SetScreenParameters(desktop.origin.x, desktop.origin.y, - 1920, 1080, 0.12576f, 0.07074f, 0.12576f*0.5f, 0.0635f ); + 1920, 1080, 0.12576f, 0.07074f, 0.07074f*0.5f, 0.0635f ); } else if (product == 2) { // HD Prototypes (default to HmdType_DKHDProto) diff --git a/LibOVR/Src/OVR_Win32_HMDDevice.cpp b/LibOVR/Src/OVR_Win32_HMDDevice.cpp index c0fc5ae..55a053c 100644 --- a/LibOVR/Src/OVR_Win32_HMDDevice.cpp +++ b/LibOVR/Src/OVR_Win32_HMDDevice.cpp @@ -314,7 +314,7 @@ void HMDDeviceFactory::EnumerateDevices(EnumerateVisitor& visitor) // Hard-coded defaults in case the device doesn't have the data itself.
if (wcsstr(ddm.DeviceID, L"OVR0003"))
{ // DK2 prototypes and variants (default to HmdType_DK2)
- hmdCreateDesc.SetScreenParameters(mx, my, 1920, 1080, 0.12576f, 0.07074f, 0.12576f*0.5f, 0.0635f );
+ hmdCreateDesc.SetScreenParameters(mx, my, 1920, 1080, 0.12576f, 0.07074f, 0.07074f*0.5f, 0.0635f );
}
else if (wcsstr(ddm.DeviceID, L"OVR0002"))
{ // HD Prototypes (default to HmdType_DKHDProto)
|