0022819: Redesign of OpenGl driver
[occt.git] / src / OpenGl / OpenGl_togl_background.cxx
1
2 #include <OpenGl_tgl_all.hxx>
3 #include <InterfaceGraphic_Graphic3d.hxx>
4 #include <InterfaceGraphic_Visual3d.hxx>
5 #include <OpenGl_tgl_subrvis.hxx>
6
7 void EXPORT
8 call_togl_background
9 (
10  CALL_DEF_VIEW * aview
11  )
12 {
13   TEL_COLOUR  col;
14
15   col.rgb[0]  = aview->DefWindow.Background.r,
16     col.rgb[1]  = aview->DefWindow.Background.g,
17     col.rgb[2]  = aview->DefWindow.Background.b;
18   call_subr_set_background (aview->WsId, &col);
19   return;
20 }