From Ulrich Hertlein, fixes for OSX build

This commit is contained in:
Robert Osfield 2008-09-22 15:01:25 +00:00
parent e9e3a533ea
commit 976df65bcc
3 changed files with 4 additions and 2 deletions

View File

@ -31,7 +31,8 @@ ImageStream::ImageStream():
ImageStream::ImageStream(const ImageStream& image,const CopyOp& copyop):
Image(image,copyop),
_status(image._status)
_status(image._status),
_loopingMode(image._loopingMode)
{
}

View File

@ -344,7 +344,7 @@ int OperationThread::cancel()
#endif
// commenting out debug info as it was cashing crash on exit, presumable
// due to osg::notify or std::cout destructing earlier than this destructor.
osg::notify(osg::INFO)<<" Waiting for OperationThread to cancel "<<this<<std::endl;
osg::notify(osg::DEBUG_INFO)<<" Waiting for OperationThread to cancel "<<this<<std::endl;
OpenThreads::Thread::YieldCurrentThread();
}
}

View File

@ -30,6 +30,7 @@ ADD_LIBRARY(${LIB_NAME}
SET(TARGET_LIBRARIES_VARS FREETYPE_LIBRARY )
LINK_INTERNAL(${LIB_NAME}
osgUtil
osgDB
osg
OpenThreads