]> git.tdb.fi Git - libs/vr.git/blobdiff - source/stereocombiner.h
Give combiners more control over rendering
[libs/vr.git] / source / stereocombiner.h
index 8a351eaeb5d6f594b78733822c5731d04b14c059..5439aeba673da3a0d46de75a60e1445995e2dd7a 100644 (file)
@@ -26,6 +26,7 @@ public:
        const Geometry::Angle<float> &get_field_of_view() const { return fov; }
        float get_frustum_skew() const { return frustum_skew; }
 
+       virtual void prepare() const { }
        virtual void render(const GL::Texture2D &, const GL::Texture2D &) const = 0;
 };