From ec19ee9655c6a74af3120bb5ae22c395f6fbf04e Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Thu, 21 Apr 2016 14:07:22 +0100 Subject: [PATCH] Fixed copy _readBuffer bug. --- src/osg/Camera.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osg/Camera.cpp b/src/osg/Camera.cpp index e0f2637f4..e4132a68f 100644 --- a/src/osg/Camera.cpp +++ b/src/osg/Camera.cpp @@ -410,7 +410,7 @@ void Camera::inheritCullSettings(const CullSettings& settings, unsigned int inhe _drawBuffer = camera->_drawBuffer; if (inheritanceMask & READ_BUFFER) - _drawBuffer = camera->_readBuffer; + _readBuffer = camera->_readBuffer; } }