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

Comparing libgender/view.C (file contents):
Revision 1.13 by root, Tue Oct 5 08:13:01 2004 UTC vs.
Revision 1.14 by root, Tue Oct 5 08:28:39 2004 UTC

34 glEnable (GL_POLYGON_OFFSET_FILL); 34 glEnable (GL_POLYGON_OFFSET_FILL);
35 glPolygonOffset (0, 1); 35 glPolygonOffset (0, 1);
36 glDepthFunc (GL_LESS); 36 glDepthFunc (GL_LESS);
37 glDisable (GL_LIGHTING); 37 glDisable (GL_LIGHTING);
38 glColorMask (0, 0, 0, 0); 38 glColorMask (0, 0, 0, 0);
39 cgGLDisableProfile (CG_PROFILE_ARBVP1);
40 cgGLDisableProfile (CG_PROFILE_ARBFP1);
39 } 41 }
40 else 42 else
41 { 43 {
42 glDisable (GL_POLYGON_OFFSET_FILL); 44 glDisable (GL_POLYGON_OFFSET_FILL);
43 glDrawBuffer (GL_BACK); 45 glDrawBuffer (GL_BACK);
44 glDepthFunc (GL_LEQUAL); 46 glDepthFunc (GL_LEQUAL);
45 glEnable (GL_LIGHTING); 47 glEnable (GL_LIGHTING);
46 glDepthMask (0); 48 glDepthMask (0);
49 cgGLEnableProfile (CG_PROFILE_ARBVP1);
50 cgGLEnableProfile (CG_PROFILE_ARBFP1);
47 } 51 }
48 52
49 glViewport (0, 0, w, h); 53 glViewport (0, 0, w, h);
50 54
51 glMatrixMode (GL_PROJECTION); 55 glMatrixMode (GL_PROJECTION);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines