Mesa (master): mesa: added comment for target_enum_to_index()
Brian Paul
brianp at kemper.freedesktop.org
Tue Dec 1 19:28:58 UTC 2009
Module: Mesa
Branch: master
Commit: 09325b9ff456ae475069bac5a04cf10a32235e43
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=09325b9ff456ae475069bac5a04cf10a32235e43
Author: Brian Paul <brianp at vmware.com>
Date: Thu Nov 19 09:55:08 2009 -0700
mesa: added comment for target_enum_to_index()
---
src/mesa/main/texobj.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/src/mesa/main/texobj.c b/src/mesa/main/texobj.c
index aaccc03..7e8a248 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)
More information about the mesa-commit
mailing list