summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2005-09-21 21:19:22 +0000
committerBrian Paul <[email protected]>2005-09-21 21:19:22 +0000
commit7d39e8297676841dbc9d096e62752ee4c5e04783 (patch)
tree41e97b95e4dffa4c5e2259be4152a220d0e440af
parent8bdc1ae358986aec81d4e6e3930a85f11680b73b (diff)
s/GL_DEPTH_BITS/GL_TEXTURE_DEPTH_SIZE_ARB/ in _mesa_GetTexLevelParameteriv()
-rw-r--r--src/mesa/main/texstate.c2
1 files changed, 1 insertions, 1 deletions
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;