OSDN Git Service

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 fd1aaad..d427a5e 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;