[osg-users] OpenGL warning

Alberto Luaces aluaces at udc.es
Thu May 25 00:27:00 PDT 2017


"Qiaokun Lefei" writes:

> Hi,
>
> I always come across this warning "Warning: detected OpenGL error
> 'invalid operation' after RenderBin::draw(..)" in my osg project. Mybe
> it's just the problem of the driver. I want to know how to make this
> warning disappear or just shield it.

Hi Qiaokun, as you say it can be your program or the driver's fault.
You can check what it happening through the use of an OpenGL debugger.

You can also mute that warning by setting OSG_NOTIFY_LEVEL not to
display WARN-level messages.

-- 
Alberto




More information about the osg-users mailing list