freebsd-ports/graphics/osg-devel/files/patch-include_osgViewer_View
Dmitry Marakasov 2c02e4c742 - Update to 3.5.1
- Fix build with recent ffmpeg
- Reduce diff with graphics/osg

PR:		209057
Submitted by:	woodsb02@gmail.com
2016-12-27 14:49:10 +00:00

11 lines
542 B
Text

--- include/osgViewer/View.orig 2016-04-21 09:54:28.095530000 +0200
+++ include/osgViewer/View 2016-04-21 09:55:04.918232000 +0200
@@ -127,7 +127,7 @@
/** Set the View's image pager.*/
void setImagePager(osgDB::ImagePager* ip);
- template<class T> void setImagePager(const osg::ref_ptr<T>* ip) { setImagePager(ip.get()); }
+ template<class T> void setImagePager(const osg::ref_ptr<T>& ip) { setImagePager(ip.get()); }
/** Get the View's image pager.*/
osgDB::ImagePager* getImagePager();