From 94af61ed01431f196b2fea0c8afc3f866441975d Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Wed, 22 Aug 2007 09:43:24 +0000 Subject: [PATCH] Added setting of thread safe ref/unref. --- src/osg/State.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/osg/State.cpp b/src/osg/State.cpp index ba19b1413..8f5f790bb 100644 --- a/src/osg/State.cpp +++ b/src/osg/State.cpp @@ -26,7 +26,8 @@ using namespace std; using namespace osg; -State::State() +State::State(): + Referenced(true) { _graphicsContext = 0; _contextID = 0;