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;