Hi Robert,

The options seem to be limited here. Would you mind submitting some functionality to retrieve the error in the "user"-space and reporting them as needed?
I'm thinking about some checkError which returns the error(s).

cheers
Sebastian
Hi Sebastian,

There isn't a glush GL errors function in the OSG. Calling glGetError in your custom Drawable would do the trick as would calling state.checkGLErrors("message"); Although this would report the errors to OSG_WARN.

Robert.


On 15 July 2014 13:35, Sebastian Messerschmidt <[email protected] <mailto:[email protected]>> wrote:

    Hi,

    I've got some custom drawable which fires some 3rd-party library.
    Unfortunately it is producing some OpenGL errors which are
    collected later on by OSG.
    Basically I do want to collect those errors on my own without
    displaying it (right now it is spamming the console) so to say
    skip them.

    How would I do this apart from using the plain glGetError with
    OpenSceneGraph?
    Basically I'm missing something like "renderInfo.flushErrors" or
    at least some explanation how to check and yet silence error checking.

    Cheers
    Sebastian




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




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

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

Reply via email to