/*----------------------------------------------------------------------*/
-void OpenGl_Structure::SetAspectFace (const CALL_DEF_CONTEXTFILLAREA &AContext)
+void OpenGl_Structure::SetAspectFace (const Handle(OpenGl_Context)& theCtx,
+ const CALL_DEF_CONTEXTFILLAREA& theAspect)
{
if (!myAspectFace)
+ {
myAspectFace = new OpenGl_AspectFace();
- myAspectFace->SetContext( AContext );
+ }
+ myAspectFace->Init (theCtx, theAspect);
}
/*----------------------------------------------------------------------*/
//=======================================================================
//function : SetZLayer
-//purpose :
+//purpose :
//=======================================================================
void OpenGl_Structure::SetZLayer (const Standard_Integer theLayerIndex)
//=======================================================================
//function : GetZLayer
-//purpose :
+//purpose :
//=======================================================================
Standard_Integer OpenGl_Structure::GetZLayer () const