0012121: Optimization of existing selection classes
[occt.git] / src / OpenGl / OpenGl_togl_backfacing.cxx
CommitLineData
7fd59977 1#include <OpenGl_tgl_all.hxx>
2
3#include <OpenGl_cmn_varargs.hxx>
4#include <OpenGl_tsm_ws.hxx>
5
6#include <InterfaceGraphic_Graphic3d.hxx>
7#include <InterfaceGraphic_Visual3d.hxx>
8
9#include <GL/gl.h>
10
11extern GLboolean g_fList;
12
13void EXPORT call_togl_backfacing ( CALL_DEF_VIEW* aView ) {
14
15 CMN_KEY_DATA key;
16
17 key.ldata = aView -> Backfacing;
18
19 TsmSetWSAttri ( aView -> WsId, WSBackfacing, &key );
20
21 g_fList = GL_FALSE;
22
23} /* end call_togl_backfacing */