--- libgender/view.C 2004/10/06 04:49:13 1.22 +++ libgender/view.C 2004/10/06 05:24:03 1.23 @@ -103,8 +103,8 @@ glDepthFunc (GL_LESS); glDisable (GL_LIGHTING); glColorMask (0, 0, 0, 0); - //cgGLDisableProfile (CG_PROFILE_ARBVP1); - cgGLDisableProfile (CG_PROFILE_ARBFP1); + //cgGLDisableProfile (vsh_profile); + cgGLDisableProfile (fsh_profile); } else { @@ -114,8 +114,8 @@ glDisable (GL_POLYGON_OFFSET_FILL); glDepthFunc (GL_LESS); glDepthMask (0); - cgGLEnableProfile (CG_PROFILE_ARBVP1); - cgGLEnableProfile (CG_PROFILE_ARBFP1); + cgGLEnableProfile (vsh_profile); + cgGLEnableProfile (fsh_profile); } for (vector::iterator i = vislist.begin (); i != vislist.end (); ++i)