summaryrefslogtreecommitdiff
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2007-06-11 16:36:06 -0600
committerBrian <brian.paul@tungstengraphics.com>2007-06-11 16:36:06 -0600
commit84e051b6a0b694b44adee381e388b00062c90b33 (patch)
treeae6915deedc44a961db86091359de93114713d28 /src/mesa
parent227315278dea9095cee6e508d03b28720b2e7880 (diff)
fix typo, added comment
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/main/texstate.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/mesa/main/texstate.c b/src/mesa/main/texstate.c
index a951a02433..75fea56119 100644
--- a/src/mesa/main/texstate.c
+++ b/src/mesa/main/texstate.c
@@ -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) {