X-Git-Url: http://git.tdb.fi/?p=libs%2Fvr.git;a=blobdiff_plain;f=source%2Fsidebysidecombiner.h;h=77012b8b3a12edf1e1c6d717924cb62d6bff6a9d;hp=52eda28ab75ec5361574f49ac9ec7e8a095b801d;hb=11d105c5183b401e5f52e9abb16cf659298cf035;hpb=5244110fa8d347b8539f4fcff1bea729eecc2027 diff --git a/source/sidebysidecombiner.h b/source/sidebysidecombiner.h index 52eda28..77012b8 100644 --- a/source/sidebysidecombiner.h +++ b/source/sidebysidecombiner.h @@ -4,6 +4,7 @@ #include #include #include +#include #include "stereocombiner.h" namespace Msp { @@ -12,6 +13,7 @@ namespace VR { class SideBySideCombiner: public StereoCombiner { private: + GL::View &view; GL::Mesh mesh; GL::Program shprog; GL::ProgramData left_shdata; @@ -19,7 +21,7 @@ private: bool cross_eyed; public: - SideBySideCombiner(bool = false); + SideBySideCombiner(GL::View &, bool = false); void set_cross_eyed(bool);