When I use the opengl primitives in opencascade based application, according to ViewerTest_OpenGlCommands.cxx file, Below is a snippet of the code.
He did draw what I wanted, but it was blocked by two triangle primitives , and I could see the following elements from the gap, such as the coordinate axis and the elements I drew, and an error occurred at the same time."FBO blitting has failed".
what should I do? Thanks a lot.
class UserDrawObj : public AIS_InteractiveObject
// Called by VUserDrawElement
void Render(const Handle(OpenGl_Workspace)& theWorkspace) const;
NodeGroup* m_pRoot = nullptr
void UserDrawObj::Render(const Handle(OpenGl_Workspace)& theWorkspace) const
Handle(OpenGl_Context) aCtx = theWorkspace->GetGlContext();
if (nullptr != m_pRoot)
FBO blitting has failed [# 1280]
Please check your graphics driver settings or try updating driver.
MSAA settings should not be overridden by driver!