summaryrefslogtreecommitdiff
path: root/src/OpenGl/OpenGl_togl_backfacing.cxx
blob: 351bdc9f6917a7b068378a1e8559df22be8d47c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#include <OpenGl_tgl_all.hxx>

#include <OpenGl_cmn_varargs.hxx>
#include <OpenGl_tsm_ws.hxx>

#include <InterfaceGraphic_Graphic3d.hxx>
#include <InterfaceGraphic_Visual3d.hxx>

#include <GL/gl.h>

extern GLboolean g_fList;

void EXPORT call_togl_backfacing ( CALL_DEF_VIEW* aView ) {

  CMN_KEY_DATA key;

  key.ldata = aView -> Backfacing;

  TsmSetWSAttri ( aView -> WsId, WSBackfacing, &key );

  g_fList = GL_FALSE;

}  /* end call_togl_backfacing */