OCC22377 Patch for visualization component
[occt.git] / src / OpenGl / OpenGl_togl_light.cxx
1
2 #include <OpenGl_tgl_all.hxx>
3 #include <InterfaceGraphic_Graphic3d.hxx>
4 #include <InterfaceGraphic_Visual3d.hxx>
5
6 long EXPORT
7 call_togl_light
8 (
9  CALL_DEF_LIGHT * alight,
10  long update
11  )
12 {
13   static long NbLights = 1;
14
15   /* rest of the code is redundant */
16   return update ? alight->LightId : NbLights++;
17 }