Update of /cvsroot/openvrml/openvrml/src/libopenvrml-gl/openvrml/gl
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv30677/src/libopenvrml-gl/openvrml/gl
Modified Files:
viewer.cpp viewer.h
Log Message:
Moved definition of USE_STENCIL_SHAPE out of the header.
Index: viewer.h
===================================================================
RCS file: /cvsroot/openvrml/openvrml/src/libopenvrml-gl/openvrml/gl/viewer.h,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** viewer.h 31 Oct 2006 03:43:07 -0000 1.15
--- viewer.h 22 Jan 2007 04:32:23 -0000 1.16
***************
*** 27,33 ****
# include <openvrml/viewer.h>
- // Use the stencil buffer to set the SHAPE mask.
- # define USE_STENCIL_SHAPE 0
-
extern "C" struct GLUtesselator;
--- 27,30 ----
Index: viewer.cpp
===================================================================
RCS file: /cvsroot/openvrml/openvrml/src/libopenvrml-gl/openvrml/gl/viewer.cpp,v
retrieving revision 1.57
retrieving revision 1.58
diff -C2 -d -r1.57 -r1.58
*** viewer.cpp 21 Jan 2007 18:05:44 -0000 1.57
--- viewer.cpp 22 Jan 2007 04:32:23 -0000 1.58
***************
*** 47,50 ****
--- 47,53 ----
# include "viewer.h"
+ // Use the stencil buffer to set the SHAPE mask.
+ # define USE_STENCIL_SHAPE 0
+
// Textures are now done using OGL1.1 bindTexture API rather than
// display lists when this flag is set. Don't define this if you
|