]> git.tdb.fi Git - libs/vr.git/blobdiff - source/openvr/openvrcombiner.h
Rename DisplayDevice to System
[libs/vr.git] / source / openvr / openvrcombiner.h
index ad4a37d8a99758ee8f65e4e120bf282ff613ce75..94ccce36be99b597bf05f9fd7c23406eee88cd6d 100644 (file)
@@ -1,22 +1,24 @@
 #ifndef MSP_VR_OPENVRCOMBINER_H_
 #define MSP_VR_OPENVRCOMBINER_H_
 
+#include <msp/gl/view.h>
 #include <msp/vr/stereocombiner.h>
 
 namespace Msp {
 namespace VR {
 
-class OpenVRDevice;
+class OpenVRSystem;
 
 class OpenVRCombiner: public StereoCombiner
 {
 private:
        struct Private;
 
-       OpenVRDevice &device;
+       OpenVRSystem &device;
+       GL::View &view;
 
 public:
-       OpenVRCombiner(OpenVRDevice &);
+       OpenVRCombiner(OpenVRSystem &, GL::View &);
 
        virtual void prepare() const;
        virtual void render(const GL::Texture2D &, const GL::Texture2D &) const;