mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-29 09:30:20 +01:00
s/GL_DEPTH_BITS/GL_TEXTURE_DEPTH_SIZE_ARB/ in _mesa_GetTexLevelParameteriv()
This commit is contained in:
parent
5a6ce051ef
commit
c72b2fb2db
1 changed files with 1 additions and 1 deletions
|
|
@ -1770,7 +1770,7 @@ _mesa_GetTexLevelParameteriv( GLenum target, GLint level,
|
|||
else
|
||||
*params = 0;
|
||||
return;
|
||||
case GL_DEPTH_BITS:
|
||||
case GL_TEXTURE_DEPTH_SIZE_ARB:
|
||||
if (ctx->Extensions.SGIX_depth_texture ||
|
||||
ctx->Extensions.ARB_depth_texture)
|
||||
*params = img->TexFormat->DepthBits;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue