aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-11-19 09:55:08 -0700
committerBrian Paul <[email protected]>2009-12-01 12:28:25 -0700
commit09325b9ff456ae475069bac5a04cf10a32235e43 (patch)
treefcc37de098054760cec64974071a16e7aabc87e1 /src/mesa/main
parente0399fddf2efd556ece8b81078368e6ab388c3b7 (diff)
mesa: added comment for target_enum_to_index()
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/texobj.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/main/texobj.c b/src/mesa/main/texobj.c
index aaccc03a7c6..7e8a2489ac3 100644
--- a/src/mesa/main/texobj.c
+++ b/src/mesa/main/texobj.c
@@ -940,7 +940,8 @@ _mesa_DeleteTextures( GLsizei n, const GLuint *textures)
/**
* Convert a GL texture target enum such as GL_TEXTURE_2D or GL_TEXTURE_3D
* into the corresponding Mesa texture target index.
- * Return -1 if target is invalid.
+ * Note that proxy targets are not valid here.
+ * \return TEXTURE_x_INDEX or -1 if target is invalid
*/
static GLint
target_enum_to_index(GLenum target)