0022962: Invalid realization of reading and writing material in STEP.
[occt.git] / src / OpenGl / OpenGl_togl_userdraw.cxx
1 #include <OpenGl_tgl_all.hxx>
2 #include <InterfaceGraphic_Graphic3d.hxx>
3 #include <OpenGl_tgl.hxx>
4 #include <OpenGl_tgl_funcs.hxx>
5 #include <OpenGl_tgl_subrs.hxx>
6 #include <OpenGl_tgl_utilgr.hxx>
7
8 void EXPORT
9 call_togl_userdraw
10 (
11  CALL_DEF_GROUP * agroup,
12  CALL_DEF_USERDRAW * anobject
13  )
14 {
15   if (! agroup->IsOpen) call_togl_opengroup (agroup);
16   call_subr_userdraw ( anobject );
17   if (! agroup->IsOpen) call_togl_closegroup (agroup);
18 }