diff options
author | Brian Paul <[email protected]> | 1999-08-19 13:24:27 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 1999-08-19 13:24:27 +0000 |
commit | 65b5e1e3fda8749adb0a0c3f3a219df8b11700da (patch) | |
tree | 8b2f4d265057841482b3edbdb752c748669b91f8 /src/mesa/main/enable.c | |
parent | cddc583aeb8b7bbfccd34999234b1e92fa9b8d43 (diff) |
glIsEnabled(GL_TEXTURE_3D) was wrong
Diffstat (limited to 'src/mesa/main/enable.c')
-rw-r--r-- | src/mesa/main/enable.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/enable.c b/src/mesa/main/enable.c index 7f661fb75f0..b79a907f4cb 100644 --- a/src/mesa/main/enable.c +++ b/src/mesa/main/enable.c @@ -1,4 +1,4 @@ -/* $Id: enable.c,v 1.1 1999/08/19 00:55:41 jtg Exp $ */ +/* $Id: enable.c,v 1.2 1999/08/19 13:24:27 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -603,7 +603,7 @@ GLboolean gl_IsEnabled( GLcontext* ctx, GLenum cap ) case GL_TEXTURE_3D: { const struct gl_texture_unit *texUnit = &ctx->Texture.Unit[ctx->Texture.CurrentUnit]; - return (texUnit->Enabled & TEXTURE0_2D) ? GL_TRUE : GL_FALSE; + return (texUnit->Enabled & TEXTURE0_3D) ? GL_TRUE : GL_FALSE; } case GL_TEXTURE_GEN_Q: { |