From: Brian Paul Date: Wed, 21 Sep 2005 21:19:22 +0000 (+0000) Subject: s/GL_DEPTH_BITS/GL_TEXTURE_DEPTH_SIZE_ARB/ in _mesa_GetTexLevelParameteriv() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7d39e8297676841dbc9d096e62752ee4c5e04783;p=mesa.git s/GL_DEPTH_BITS/GL_TEXTURE_DEPTH_SIZE_ARB/ in _mesa_GetTexLevelParameteriv() --- diff --git a/src/mesa/main/texstate.c b/src/mesa/main/texstate.c index fd1aaad9976..d427a5e1dd9 100644 --- a/src/mesa/main/texstate.c +++ b/src/mesa/main/texstate.c @@ -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;