[原][osg]怎么关闭osg的打印Warning: detected OpenGL error ‘invalid operation‘ at after RenderBin::draw(..)

//随便加个osg头
#include <osgState>


//调用设置osg的打印等级为0,不打印
osg::setNotifyLevel(osg::NotifySeverity::ALWAYS);
原文地址:https://www.cnblogs.com/lyggqm/p/14558219.html