[osg-users] Debugging "Warning: detected OpenGL error 'invalid value' after RenderBin::draw(, )"

Jean-Sébastien Guay jean-sebastien.guay at polymtl.ca
Wed Oct 24 16:59:03 PDT 2007


Hello Michael,

> I think calling the following might be what you are looking for to
> narrow down the source of your error.
>
>    pState->setCheckForGLErrors
> (osg::State::CheckForGLErrors::ONCE_PER_ATTRIBUTE)
>
> where pState is a pointer to the osg::State.

Yep, that sounds like it should do the trick. I'll try it first thing  
tomorrow morning.

Thanks,

J-S
-- 
______________________________________________________
Jean-Sebastien Guay     jean-sebastien.guay at polymtl.ca
                         http://whitestar02.webhop.org/

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.





More information about the osg-users mailing list