From a7a71155813132486a6efd05f789a24dc55cee6c Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Tue, 25 Nov 2008 15:57:27 +0000 Subject: [PATCH] Fix for build with OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION off --- examples/osgpackeddepthstencil/osgpackeddepthstencil.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/osgpackeddepthstencil/osgpackeddepthstencil.cpp b/examples/osgpackeddepthstencil/osgpackeddepthstencil.cpp index f9f23565c..89267a07c 100644 --- a/examples/osgpackeddepthstencil/osgpackeddepthstencil.cpp +++ b/examples/osgpackeddepthstencil/osgpackeddepthstencil.cpp @@ -191,7 +191,7 @@ int main( int argc, char **argv ) g0->addChild(createMask()); g0->addChild(createGeometry()); rttCamera->addChild(g0); - rootNode->addChild(rttCamera); + rootNode->addChild(rttCamera.get()); // creates textured quad with result rootNode->addChild(createTextureQuad(texture));