aboutsummaryrefslogtreecommitdiffstats
path: root/LibOVR/Src/OVR_Win32_SensorDevice.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'LibOVR/Src/OVR_Win32_SensorDevice.cpp')
-rw-r--r--LibOVR/Src/OVR_Win32_SensorDevice.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/LibOVR/Src/OVR_Win32_SensorDevice.cpp b/LibOVR/Src/OVR_Win32_SensorDevice.cpp
index e8beb31..734766c 100644
--- a/LibOVR/Src/OVR_Win32_SensorDevice.cpp
+++ b/LibOVR/Src/OVR_Win32_SensorDevice.cpp
@@ -39,9 +39,9 @@ void SensorDeviceImpl::EnumerateHMDFromSensorDisplayInfo
(const SensorDisplayInfoImpl& displayInfo,
DeviceFactory::EnumerateVisitor& visitor)
{
-
- Win32::HMDDeviceCreateDesc hmdCreateDesc(&Win32::HMDDeviceFactory::Instance, String(), String());
- hmdCreateDesc.SetScreenParameters( 0, 0,
+ Win32::HMDDeviceCreateDesc hmdCreateDesc(&Win32::HMDDeviceFactory::GetInstance(), String(), String());
+
+ hmdCreateDesc.SetScreenParameters( 0, 0,
displayInfo.HResolution, displayInfo.VResolution,
displayInfo.HScreenSize, displayInfo.VScreenSize,
displayInfo.VCenter, displayInfo.LensSeparation);