Give combiners more control over rendering
[libs/vr.git] / source / ovr / oculusriftdevice.cpp
index 32558e049aab576cc82403789c65058b78f9d7f9..146f04a7c0ad32a12c94dead97ea46265bec34fa 100644 (file)
@@ -42,14 +42,14 @@ void OculusRiftDevice::configure_view(StereoView &view) const
        view.set_eye_spacing(left_desc.HmdToEyeViewOffset.x-right_desc.HmdToEyeViewOffset.x);
 }
 
-OculusRiftCamera *OculusRiftDevice::create_camera(const GL::Camera &bc) const
+OculusRiftCamera *OculusRiftDevice::create_camera(const GL::Camera &bc)
 {
        return new OculusRiftCamera(*this, bc);
 }
 
-OculusRiftCombiner *OculusRiftDevice::create_combiner() const
+OculusRiftCombiner *OculusRiftDevice::create_combiner(GL::View &view)
 {
-       return new OculusRiftCombiner(*this);
+       return new OculusRiftCombiner(*this, view);
 }
 
 void OculusRiftDevice::begin_frame()