With reference to my previous mail and as far as I understand, I need a valid graphic context as 1st parameter of getExtensions(.). And I can get a valid context only when a viewer is running, am I right?
Since I ignored the fact that I needed a valid graphic context, I wrote a node visitor to pre-process my scene graph in order to get extensions and resizing every texture. The problem is that I 'accepted' the visitor before actually having such a valid context...so during the graph traversal I call getExtensions(0, true) and then setMaxTextureSize(.). As expected, I see that there is this error: *Error: In Texture::Extensions::setupGLExtensions(..) OpenGL version test failed, requires valid graphics context.* But it looks like that the texture resizing has been done successfully although there was such an error. Why? Is it safe to do the resizing the way I did? Thank you. Regards. Alessandro
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

