projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e0399fd
)
mesa: added comment for target_enum_to_index()
author
Brian Paul
<brianp@vmware.com>
Thu, 19 Nov 2009 16:55:08 +0000
(09:55 -0700)
committer
Brian Paul
<brianp@vmware.com>
Tue, 1 Dec 2009 19:28:25 +0000
(12:28 -0700)
src/mesa/main/texobj.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/texobj.c
b/src/mesa/main/texobj.c
index aaccc03a7c6759eb84b4d9727d92aa09bc9779ef..7e8a2489ac3139adb79dd437b6ab1a47ded4480c 100644
(file)
--- 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)