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

//随便加个osg头
#include <osg\State>


//调用设置osg的打印等级为0,不打印
osg::setNotifyLevel(osg::NotifySeverity::ALWAYS);

 

posted @ 2021-04-10 10:38  南水之源  阅读(1494)  评论(0编辑  收藏  举报