Unify ARB_depth_texture and SGIX_depth_texture
[mesa.git] / src / mesa / main / texparam.c
index acddb6663bb5e0c97a768d68c463ab054f543a55..a9e752a6371096cff5869de2924403843c604cc5 100644 (file)
@@ -642,8 +642,7 @@ _mesa_GetTexLevelParameteriv( GLenum target, GLint level,
             *params = 0;
          break;
       case GL_TEXTURE_DEPTH_SIZE_ARB:
-         if (ctx->Extensions.SGIX_depth_texture ||
-             ctx->Extensions.ARB_depth_texture)
+         if (ctx->Extensions.ARB_depth_texture)
             *params = img->TexFormat->DepthBits;
          else
             _mesa_error(ctx, GL_INVALID_ENUM,