From: Brian Paul Date: Thu, 19 Nov 2009 16:55:08 +0000 (-0700) Subject: mesa: added comment for target_enum_to_index() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=09325b9ff456ae475069bac5a04cf10a32235e43;p=mesa.git mesa: added comment for target_enum_to_index() --- 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)