06.10.2010 21:36, Thomas Hogarth wrote:
> What's happening is that I create a texture that is a power of two size up
> but modify with a smaller image. So then the above line detects
> the modify and says that our textureObject does not match the dimensions of
> the image and releases the texture object, which causes the subsequent load
> call.
>
>
Hi,

What you think about move texture object generation to load method of subload 
callback.
I describe this at 
http://www.mail-archive.com/[email protected]/msg44322.html

This small hack would allow you to reuse previous texture object.

Mikhail.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to