OCC22391 Polylines arrays not drawn for mesh with VBO flag enabled
[occt.git] / src / OpenGl / OpenGl_togl_deactivateview.cxx
1 /***********************************************************************
2
3 FONCTION :
4 ----------
5 file OpenGl_togl_deactivateview.c :
6
7
8 REMARQUES:
9 ---------- 
10
11
12 HISTORIQUE DES MODIFICATIONS   :
13 --------------------------------
14 xx-xx-xx : CAL ; Creation.
15 05-02-97 : FMN ; Suppression de OpenGl_tgl_vis.h
16
17 ************************************************************************/
18
19 /*----------------------------------------------------------------------*/
20 /*
21 * Includes
22 */
23
24
25 #include <OpenGl_tgl_all.hxx>
26 #include <InterfaceGraphic_Graphic3d.hxx>
27 #include <InterfaceGraphic_Visual3d.hxx>
28 #include <OpenGl_tgl_funcs.hxx>
29
30 void EXPORT
31 call_togl_deactivateview
32 (
33  CALL_DEF_VIEW * aview
34  )
35 {
36   if (aview->WsId != -1)
37     call_func_post_struct (aview->WsId, -1, ( float )1.0);
38   return;
39 }