From 4677fe20a773705e08f7862f99bc352dc062b72c Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Wed, 20 Jun 2007 12:34:37 +0000 Subject: [PATCH] Added dummy init method --- src/osgViewer/PixelBufferWin32.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/osgViewer/PixelBufferWin32.cpp b/src/osgViewer/PixelBufferWin32.cpp index bb7899dee..b9d6aa096 100644 --- a/src/osgViewer/PixelBufferWin32.cpp +++ b/src/osgViewer/PixelBufferWin32.cpp @@ -62,6 +62,15 @@ bool PixelBufferWin32::valid() const return _valid; } +void PixelBufferWin32::init() +{ + if (_initialized) return; + + // don't do anything right now... waiting for an implementation... + _valid = false; + return; +} + bool PixelBufferWin32::realizeImplementation() { osg::notify(osg::NOTICE) << "PixelBufferWin32::realizeImplementation() not implemented." << std::endl; return false;