From 7d39e8297676841dbc9d096e62752ee4c5e04783 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Wed, 21 Sep 2005 21:19:22 +0000 Subject: [PATCH] s/GL_DEPTH_BITS/GL_TEXTURE_DEPTH_SIZE_ARB/ in _mesa_GetTexLevelParameteriv() --- src/mesa/main/texstate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.30.2