glut/lib/glcmap/cmap_buildcmap.c
/* Warning:  This routine only tracks the clamp to edge support based on
   the first context it is invoked with.  If you use multiple contexts
   with different OpenGL versions and extensions, this could cause you
   problems. */
This routine only tracks the clamp to edge support based on
the first context it is invoked with.  If you use multiple contexts
with different OpenGL versions and extensions, this could cause you
problems.
This routine only tracks the clamp to edge support based on the first context it is invoked with . If you use multiple contexts with different OpenGL versions and extensions this could cause you problems .
static int
supportsClampToEdge(void)
{
  static int hasClampToEdge = -1;  
  if (hasClampToEdge < 0) {
    hasClampToEdge = supportsExtension("GL_EXT_texture_edge_clamp") || supportsOneDotTwo();
  }
  return hasClampToEdge;
}
static int supportsClampToEdge ( void ) { static int hasClampToEdge = -1 ; if ( hasClampToEdge < 0 ) { hasClampToEdge = supportsExtension ( " " ) || supportsOneDotTwo ( ) ; } return hasClampToEdge ; }
Warning:  This routine only tracks the clamp to edge support based on
the first context it is invoked with.
Warning : This routine only tracks the clamp to edge support based on the first context it is invoked with .
/* Negative means yet undetermined. */