diff --git a/examples/osgmultiviewOVR/MultiviewOVR.cpp b/examples/osgmultiviewOVR/MultiviewOVR.cpp index d6a75becb..7749dfc98 100644 --- a/examples/osgmultiviewOVR/MultiviewOVR.cpp +++ b/examples/osgmultiviewOVR/MultiviewOVR.cpp @@ -37,7 +37,7 @@ struct CustomIntialFrustumCallback : public osg::CullSettings::InitialFrustumCal void computeClipSpaceBound(osg::Camera& camera) { - osg::Matrixd pmv = camera.getViewMatrix() * camera.getViewMatrix(); + osg::Matrixd pmv = camera.getProjectionMatrix() * camera.getViewMatrix(); size_t numOffsets = std::min(projectionOffsets.size(), viewOffsets.size());