Thanks Jannik, fix merged and submitted to svn/trunk and OSG-3.4 branch. On 28 July 2015 at 22:18, Jannik Heller <[email protected]> wrote:
> Hi Robert, > > Here is a patch for the S3TC capability check. > > On a Intel HD graphics Linux system with Mesa 10.1.3, I found that osg's > Extensions::isTextureCompressionS3TCSupported() returned false, even though > S3TC compressed textures *are* in fact working. I tested this by loading > and rendering various DXT1, DXT3 and DXT5 compressed textures in the OSG. > > "glxinfo | grep s3tc" gives: > GL_S3_s3tc > > Note, if I install the package "libtxc-dxtn-s2tc0", I get in addition: > > glxinfo | grep s3tc > GL_EXT_texture_compression_s3tc > GL_S3_s3tc > > However, S3TC compressed textures worked correctly within the OSG even > without libtxc-dxtn-s2tc0 installed. > > I'm not sure what the differences between these extensions are, but based > on the description at https://www.opengl.org/registry/specs/S3/s3tc.txt I > would assume that both will work for OSG's purposes. The attached patch > changes isTextureCompressionS3TCSupported() to accept either extension. > > Thank you! > > Cheers, > Jannik > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=64514#64514 > > > > > _______________________________________________ > 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
