[osg-users] Debugging "Warning: detected OpenGL error 'invalid value' after RenderBin::draw(, )"
michael.henheffer at caris.com
Wed Oct 24 12:30:52 PDT 2007
I think calling the following might be what you are looking for to
narrow down the source of your error.
where pState is a pointer to the osg::State.
Hope this helps,
Jean-Sébastien Guay wrote:
> Hello Robert,
> I remember you mentioning a way (in OSG) to find out the source of the message
> Warning: detected OpenGL error 'invalid value' after RenderBin::draw(,)
> sometime in the past, but can't find the post just now. I recall it
> having to do with setting something in a stateset to get explicit
> debug messages printed which would help find the source of the
> I'm getting this when updating a vertex attribute array, and I was
> hoping there was a way to eliminate it, because my geometry also
> disappears when it happens, which leads to flashing (as I'm updating
> attributes in a loop, and the message seems to pop up once in
> approximately 10 attributes updated).
> Thanks in advance for any advice on how to debug this situation.
Michael Henheffer - Software Developer
115 Waggoners Lane, Fredericton, New Brunswick, Canada, E3B 2L4
Tel: +1-506-458-8533 Fax: +1-506-459-3849
New Viewer for 2D and 3D Data
Download your free copy of CARIS Easy View today!
This email and any files transmitted with it are confidential and
intended only for the addressee(s). If you are not the intended
recipient(s) please notify us by email reply. You should not use,
disclose, distribute or copy this communication if received in error.
Any views or opinions expressed in this email are solely those of the
author and do not necessarily represent those of the company. No binding
contract will result from this email until such time as a written
document is signed on behalf of the company.
More information about the osg-users