<div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Hi Shane,</div><div>maybe this can help you:</div><div>//from State::setMaxTexturePoolSize(unsigned int size)</div><div dir="ltr">osg::get<TextureObjectManager>(_contextID)->setMaxTexturePoolSize(size)<br></div><div>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.</div><div><br></div><div>Laurens.</div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Mar 15, 2019 at 10:50 AM Shane MacLaughlin <<a href="mailto:shane@atlascomputers.ie">shane@atlascomputers.ie</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
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<br>
<br>
osg::Texture::getTextureObjectManager(0)->setMaxTexturePoolSize( 64000 );<br>
<br>
which reports<br>
<br>
 error C2039: 'getTextureObjectManager': is not a member of 'osg::Texture'<br>
<br>
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?<br>
<br>
Thank you!<br>
<br>
Cheers,<br>
Shane<br>
<br>
------------------<br>
Read this topic online here:<br>
<a href="http://forum.openscenegraph.org/viewtopic.php?p=75716#75716" rel="noreferrer" target="_blank">http://forum.openscenegraph.org/viewtopic.php?p=75716#75716</a><br>
<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
osg-users mailing list<br>
<a href="mailto:osg-users@lists.openscenegraph.org" target="_blank">osg-users@lists.openscenegraph.org</a><br>
<a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" rel="noreferrer" target="_blank">http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org</a><br>
</blockquote></div>