cgGLSetOptimalOptions - deprecated, use cgGLSetContextOptimalOptions
void cgGLSetOptimalOptions( CGprofile profile );
The profile for which the optimal options will be set.
cgGLSetOptimalOptions sets implicit compiler arguments
that are appended to the argument list passed to
cgCreateProgram. The arguments are chosen based on the
the available compiler arguments, GPU, and driver.
The arguments will be appended to the argument list every time
cgCreateProgram is called until the last CGcontext
is destroyed, after which this function should be called again.
CG_INVALID_PROFILE_ERROR is generated if profile is not
a supported OpenGL profile.
cgGLSetOptimalOptions was introduced in Cg 1.1.
cgGLSetOptimalOptions was deprecated in Cg 3.1, use cgGLSetContextOptimalOptions.