0022792: Globally defined symbol PI conflicts with VTK definition (Intel compiler)
[occt.git] / src / OpenGl / OpenGl_togl_background.cxx
CommitLineData
7fd59977 1
2#include <OpenGl_tgl_all.hxx>
3#include <InterfaceGraphic_Graphic3d.hxx>
4#include <InterfaceGraphic_Visual3d.hxx>
5#include <OpenGl_tgl_subrvis.hxx>
6
7void EXPORT
8call_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}