summaryrefslogtreecommitdiffstats
path: root/LibOVR
diff options
context:
space:
mode:
authorBrad Davis <[email protected]>2013-11-16 16:11:54 -0800
committerBrad Davis <[email protected]>2013-11-16 16:11:54 -0800
commit67bac685c9c292c4c850973b41b22090718f56de (patch)
tree4585541914283cb5c777ef685cbcc20ccc22d8ba /LibOVR
parentb6b7f06322f958e152ffa2daab1c6be0d7ab2e18 (diff)
Changing the HMDinfo name to match the XRandr name
Diffstat (limited to 'LibOVR')
-rw-r--r--LibOVR/Src/OVR_Linux_HMDDevice.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/LibOVR/Src/OVR_Linux_HMDDevice.cpp b/LibOVR/Src/OVR_Linux_HMDDevice.cpp
index 8683541..cce37d5 100644
--- a/LibOVR/Src/OVR_Linux_HMDDevice.cpp
+++ b/LibOVR/Src/OVR_Linux_HMDDevice.cpp
@@ -194,7 +194,7 @@ void HMDDeviceFactory::EnumerateDevices(EnumerateVisitor& visitor)
h = crtc_info->height;
XRRFreeCrtcInfo(crtc_info);
}
- HMDDeviceCreateDesc hmdCreateDesc(this, mi->dsc_product_name, output);
+ HMDDeviceCreateDesc hmdCreateDesc(this, info->name, output);
hmdCreateDesc.SetScreenParameters(x, y, w, h, 0.14976f, 0.0936f);
// Notify caller about detected device. This will call EnumerateAddDevice
// if the this is the first time device was detected.