diff --git a/src/Main/CameraGroup.cxx b/src/Main/CameraGroup.cxx index 305c68363..1c0bb6cca 100644 --- a/src/Main/CameraGroup.cxx +++ b/src/Main/CameraGroup.cxx @@ -162,7 +162,7 @@ CameraInfo* CameraGroup::addCamera(unsigned flags, Camera* camera, if (bufferMap.count(Camera::COLOR_BUFFER) != 0) { farCamera->attach( Camera::COLOR_BUFFER, - bufferMap.find(Camera::COLOR_BUFFER)->second._texture); + bufferMap.find(Camera::COLOR_BUFFER)->second._texture.get()); } _viewer->addSlave(farCamera, projection, view, useMasterSceneData); installCullVisitor(farCamera);