Thanks Conan! Nick
On Thu, Oct 23, 2014 at 3:08 PM, Conan Doyle <o...@celticblues.com> wrote: > +1 on gDEBbugger.. very useful tool... also look into AMD CodeXL, which I > believe, is an updated version of gDEBugger. > > > Trajce Nikolov NICK wrote: > > Thanks Sebasitian ..... I have heard of it but never tried. Now seam the > time comes. Thanks again! > > > > Nick > > > > > > On Thu, Oct 23, 2014 at 1:50 PM, Sebastian Messerschmidt < ()> wrote: > > > > > Hi Nick, > > > > > > I usually use GDebugger or similar tools which can hook into the > OpenGLDriver. There you can get the stack-trace telling you the provoking > OpenGL call. > > > Good tools might like GDebugger will also allow you to see the actual > code (e.g. the OSG call) where the error stems from > > > > > > > > > > > > > > > > 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. < ()> 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: ()] On Behalf Of Trajce Nikolov NICK > > > > > Sent: Thursday, October 23, 2014 6:57 AM > > > > > To: OpenSceneGraph Users > > > > > Subject: 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 > > > > > () > > > > > > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > (http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > ) > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > trajce nikolov nick > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > osg-users mailing list > > > > > () > > > > > > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > (http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > ) > > > > > > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > osg-users mailing list > > > () > > > > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > (http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > ) > > > > > > > > > > > > > > > > -- > > trajce nikolov nick > > > > ------------------ > > Post generated by Mail2Forum > > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=61399#61399 > > > > > > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > -- trajce nikolov nick
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org