When using an osg::TextureBuffer, be sure to call setTextureAttribute(...) instead of setTextureAttributeAndModes(...).
Glenn Waldron On Mon, May 22, 2017 at 9:40 AM, Marius Dransfeld < marius.dransf...@gmail.com> wrote: > Hi, > > I'm getting the following error when using osg::TextureBuffer (current OSG > git): > Warning: detected OpenGL error 'invalid enumerant' after applying GLMode > 0x8c2a > > According to CodeXL this occurs because glEnable(GL_TEXTURE_BUFFER) is > called. Looks like this is a bug in OSG? > > Thank you! > > Cheers, > Marius > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=70952#70952 > > > > > > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org