mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-29 01:30:08 +01:00
mesa: added comment for target_enum_to_index()
This commit is contained in:
parent
e0399fddf2
commit
09325b9ff4
1 changed files with 2 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue