KhronosGroup / OpenGL-Registry

OpenGL, OpenGL ES, and OpenGL ES-SC API and Extension Registry
690 stars 276 forks source link

Group valid values for GL_DEPTH_STENCIL_TEXTURE_MODE #486

Closed joakim-arm closed 3 years ago

joakim-arm commented 3 years ago

In glTextureParameteri, when pname is GL_DEPTH_STENCIL_TEXTURE_MODE, the valid values for param is GL_DEPTH_COMPONENT and GL_STENCIL_INDEX. This commit adds those values to the new group 'DepthStencilTextureMode'

Also, GL_TEXTURE_MAX_ANISOTROPY is added to the 'TextureParameterName' group, because it can be used as pname in the glTextureParameterf function.