Hi Shane, maybe this can help you: //from State::setMaxTexturePoolSize(unsigned int size) osg::get<TextureObjectManager>(_contextID)->setMaxTexturePoolSize(size) I have no idea why you are doing this, as I don't know the Cookbook at all. So dropping the line and leave the default might be an option too.
Laurens. On Fri, Mar 15, 2019 at 10:50 AM Shane MacLaughlin <sh...@atlascomputers.ie> wrote: > Hi, > > I'm rebuilding some older code from the OpenSceneGraph Cookbook, and while > I've had a number of minor build errors, most are easy enough to correct. > One I'm having difficulty with is > > osg::Texture::getTextureObjectManager(0)->setMaxTexturePoolSize( 64000 ); > > which reports > > error C2039: 'getTextureObjectManager': is not a member of 'osg::Texture' > > Going back to OpenSceneGraph 3.4.0 it is there, but not 3.6.3. Just > wondering if there is a work around or am I better sticking to OSG 3.4.0 > for the older code? > > Thank you! > > Cheers, > Shane > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=75716#75716 > > > > > > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org