1 #define GER61454 /*GG 14-09-99 Activates the model clipping planes
2 // GG 110800 UNDER LINUX and MESA 3.2, nothing can be done until
3 // gl context is open first.
9 #include <OpenGl_tgl_all.hxx>
12 call_togl_inquireplane ()
15 if( GET_GL_CONTEXT() ) {
17 glGetIntegerv( GL_MAX_CLIP_PLANES, &maxplanes);
18 maxplanes -= 2; /* NOTE the 2 first planes are reserved for ZClipping */
24 printf(" @@@ call_togl_inquireplane. GL_MAX_CLIP_PLANES is %d\n",maxplanes);