]> git.tdb.fi Git - libs/vr.git/blobdiff - source/openvr/openvrcombiner.cpp
Apply s/device/system/ to member variables as well
[libs/vr.git] / source / openvr / openvrcombiner.cpp
index 20b485eac1a9cf3401bae393dbb422b3cdad2f82..85a0e2a2352df3ac557b5d0e8f9d3096e104921f 100644 (file)
@@ -12,7 +12,7 @@ struct OpenVRCombiner::Private
 
 
 OpenVRCombiner::OpenVRCombiner(OpenVRSystem &d, GL::View &v):
 
 
 OpenVRCombiner::OpenVRCombiner(OpenVRSystem &d, GL::View &v):
-       device(d),
+       system(d),
        view(v)
 {
        vr::IVRSystem *vr_sys = vr::VRSystem();
        view(v)
 {
        vr::IVRSystem *vr_sys = vr::VRSystem();
@@ -31,7 +31,7 @@ OpenVRCombiner::OpenVRCombiner(OpenVRSystem &d, GL::View &v):
 
 void OpenVRCombiner::prepare() const
 {
 
 void OpenVRCombiner::prepare() const
 {
-       device.update_pose_matrices();
+       system.update_pose_matrices();
 }
 
 void OpenVRCombiner::render(const GL::Texture2D &left, const GL::Texture2D &right) const
 }
 
 void OpenVRCombiner::render(const GL::Texture2D &left, const GL::Texture2D &right) const