fix typo, added comment
authorBrian <brian.paul@tungstengraphics.com>
Mon, 11 Jun 2007 22:36:06 +0000 (16:36 -0600)
committerBrian <brian.paul@tungstengraphics.com>
Mon, 11 Jun 2007 22:36:06 +0000 (16:36 -0600)
src/mesa/main/texstate.c

index a951a024336e73ec267f1c333bf740eb98c52da9..75fea56119a5f301c5ede5d29353c0ab5bacc64b 100644 (file)
@@ -1,6 +1,6 @@
 /*
  * Mesa 3-D graphics library
- * Version:  6.5.3
+ * Version:  7.1
  *
  * Copyright (C) 1999-2007  Brian Paul   All Rights Reserved.
  *
@@ -1179,13 +1179,16 @@ _mesa_TexParameterf( GLenum target, GLenum pname, GLfloat param )
 
 
 /**
- * Update derrived compare function state.
+ * Update derived compare function state.
  */
 void
 _mesa_update_texture_compare_function(struct gl_texture_object *tObj,
                                      GLboolean in_frag_prog)
 {
    if (in_frag_prog) {
+      /* Texel/coordinate comparison is ignored for programs.
+       * See GL_ARB_fragment_program/shader spec for details.
+       */
       tObj->_Function = GL_NONE;
    }
    else if (tObj->CompareFlag) {