Thanks Karl, I set this in my code:
std::ostringstream oss; oss << "OSG_GL_ERROR_CHECKING=ON"; _putenv(oss.str().c_str()); still getting the same output, nothing extra. I am using TextureRectangle as well so might be the same issue. Any further hints? Thanks a bunch! Nick On Thu, Oct 23, 2014 at 1:08 PM, Cary, Karl A. <[email protected]> wrote: > Robert had a suggestion in the past that helped me track down a similar > issue in the past. From an earlier post from him: > > One way of pinpointing the error better is to enable fine grained error > checking in the osg::State by setting the env OSG_GL_ERROR_CHECKING to ON, > on my Linux system this is: > > > export OSG_GL_ERROR_CHECKING=ON > > In my case this pointed me to a Texture2DRectangle that I was improperly > declaring a min filter on. Hope this helps. > > -----Original Message----- > From: osg-users [mailto:[email protected]] On > Behalf Of Trajce Nikolov NICK > Sent: Thursday, October 23, 2014 6:57 AM > To: OpenSceneGraph Users > Subject: [osg-users] invalid enumerant error > > Hi community, > > This is question for those who has debug OpenGL apps. I am getting the > following message: > > "Warning: detected OpenGL error 'invalid enumerant' after applying GLMode > 0x40b3" > > Any hints how to resolve it or at least get some more info? > > Thanks a lot, > > Nick > > > -- > trajce nikolov nick > > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > -- trajce nikolov nick
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

