Hi Johannes, Thanks for the changes. I've merged the changes with the small change of making the Image::supportsTextureSubloading() const and implemented in the .cpp, I've done the later to make it easier for us to expand the list of formats that don't support texture subloading. Changes now merged and submitted to svn/trunk.
Robert. On 17 February 2012 16:23, Johannes Baeuerle <[email protected]> wrote: > Hi robert, > > I integrated the changes you suggested. The osg::Image class now contains a > 'supportsTextureSubloading()' method that is used inside the Texture2D::apply > method. For now it only checks for the etc1 format in which case it returns > 'false'. All other formats lead to a return value of 'true'. > > Without the change the application does not work properly. First I get the > notification that an OpenGL error occured. After some more of this error > messages I see broken textures on the screen. With the changes attached to > this message my application works as intended. > > Changes are based on today's trunk. > > Cheers, > Johannes > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=45541#45541 > > > > > Attachments: > http://forum.openscenegraph.org//files/osg_832.zip > > > _______________________________________________ > osg-submissions mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
