ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libgender/view.C
(Generate patch)

Comparing libgender/view.C (file contents):
Revision 1.18 by root, Wed Oct 6 01:41:30 2004 UTC vs.
Revision 1.19 by root, Wed Oct 6 01:59:21 2004 UTC

66} 66}
67 67
68void view::begin () 68void view::begin ()
69{ 69{
70 vismap.clear (); 70 vismap.clear ();
71 vislist.clear ();
71 72
72 generation++; 73 generation++;
73 74
74 reset_projection (); 75 reset_projection ();
75 76
101 //cgGLDisableProfile (CG_PROFILE_ARBVP1); 102 //cgGLDisableProfile (CG_PROFILE_ARBVP1);
102 cgGLDisableProfile (CG_PROFILE_ARBFP1); 103 cgGLDisableProfile (CG_PROFILE_ARBFP1);
103 } 104 }
104 else 105 else
105 { 106 {
107#if 0
106 glEnable (GL_MINMAX); 108 glEnable (GL_MINMAX);
109#endif
107 glDisable (GL_POLYGON_OFFSET_FILL); 110 glDisable (GL_POLYGON_OFFSET_FILL);
108 glDepthFunc (GL_LESS); 111 glDepthFunc (GL_LESS);
109 glDepthMask (0); 112 glDepthMask (0);
110 cgGLEnableProfile (CG_PROFILE_ARBVP1); 113 cgGLEnableProfile (CG_PROFILE_ARBVP1);
111 cgGLEnableProfile (CG_PROFILE_ARBFP1); 114 cgGLEnableProfile (CG_PROFILE_ARBFP1);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines