1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-04-02 03:06:41 +00:00

Store screen capture operation as osg::ref_ptr

This commit is contained in:
elsid 2021-05-24 18:46:45 +02:00
parent 6cc5dc5bf0
commit 8d2d24ce65
No known key found for this signature in database
GPG key ID: B845CB9FEE18AB40

View file

@ -62,7 +62,7 @@ namespace OMW
boost::filesystem::path mResDir;
osg::ref_ptr<osgViewer::Viewer> mViewer;
osg::ref_ptr<osgViewer::ScreenCaptureHandler> mScreenCaptureHandler;
osgViewer::ScreenCaptureHandler::CaptureOperation *mScreenCaptureOperation;
osg::ref_ptr<osgViewer::ScreenCaptureHandler::CaptureOperation> mScreenCaptureOperation;
std::string mCellName;
std::vector<std::string> mContentFiles;
std::vector<std::string> mGroundcoverFiles;