s/GL_DEPTH_BITS/GL_TEXTURE_DEPTH_SIZE_ARB/ in _mesa_GetTexLevelParameteriv()
authorBrian Paul <brian.paul@tungstengraphics.com>
Wed, 21 Sep 2005 21:19:22 +0000 (21:19 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Wed, 21 Sep 2005 21:19:22 +0000 (21:19 +0000)
src/mesa/main/texstate.c

index fd1aaad9976f2f60b59f8ecb1e66cb4c75021e02..d427a5e1dd92097d32a7591a440196ff7be0f967 100644 (file)
@@ -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;