]> git.tdb.fi Git - libs/vr.git/blobdiff - source/openvr/openvrcombiner.h
Implement display mirroring in StereoCombiner
[libs/vr.git] / source / openvr / openvrcombiner.h
index ad4a37d8a99758ee8f65e4e120bf282ff613ce75..58a24c9c9f2708eebac8c2f048e7e762ec4dada7 100644 (file)
@@ -1,6 +1,7 @@
 #ifndef MSP_VR_OPENVRCOMBINER_H_
 #define MSP_VR_OPENVRCOMBINER_H_
 
+#include <msp/gl/view.h>
 #include <msp/vr/stereocombiner.h>
 
 namespace Msp {
@@ -14,9 +15,10 @@ private:
        struct Private;
 
        OpenVRDevice &device;
+       GL::View &view;
 
 public:
-       OpenVRCombiner(OpenVRDevice &);
+       OpenVRCombiner(OpenVRDevice &, GL::View &);
 
        virtual void prepare() const;
        virtual void render(const GL::Texture2D &, const GL::Texture2D &) const;