Hi Nick,

On Wed, Dec 2, 2009 at 1:39 PM, Trajce Nikolov <[email protected]> wrote:
> Thanks Robert.
> Here is my scenario:
> Load a viewer
> Load a model
> do something
> Unload the model
> Unload the viewer
> and this all over again. On the second try, I am getting: Warning: detected
> OPenGL error 'invalid enumerant' at after RenderBin::draw(...) .... what can
> cause this?

I don't know the cause of the error.  Try enabling fine grained
checking of errors by setting the env var OSG_GL_ERROR_CHECKING to ON
(or ONCE_PER_ATTRIBUTE which currently is the same settings as ON).

Could you also explain what you mean by "Unload the model" and "Unload
the viewer".  Do you mean destruct it?  Are there any references kept
around beyond when you think it's been "Unloaded" ?

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to