projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cddc583
)
glIsEnabled(GL_TEXTURE_3D) was wrong
author
Brian Paul
<brian.paul@tungstengraphics.com>
Thu, 19 Aug 1999 13:24:27 +0000
(13:24 +0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Thu, 19 Aug 1999 13:24:27 +0000
(13:24 +0000)
src/mesa/main/enable.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/enable.c
b/src/mesa/main/enable.c
index 7f661fb75f02b33f73f0e3ce97a3924cee9db0b1..b79a907f4cbccd8552ea67317524e7712a62c080 100644
(file)
--- 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_
2
D) ? GL_TRUE : GL_FALSE;
+ return (texUnit->Enabled & TEXTURE0_
3
D) ? GL_TRUE : GL_FALSE;
}
case GL_TEXTURE_GEN_Q:
{