summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2001-05-10 12:56:55 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2001-05-10 12:56:55 +0000
commit259de69210192cd27b4698f0a5c4b33b521acba0 (patch)
tree5089788d3ab13f45e64ca2fb1e86697a80502da5
parent3063e1da09313455774577291573b8105f43e4fe (diff)
fixed bad texture border test (sometimes caused a segfault)
-rw-r--r--src/mesa/drivers/glide/fxdd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/glide/fxdd.c b/src/mesa/drivers/glide/fxdd.c
index fc8bbb8242..f3ba8e7c27 100644
--- a/src/mesa/drivers/glide/fxdd.c
+++ b/src/mesa/drivers/glide/fxdd.c
@@ -986,7 +986,7 @@ static GLboolean fxIsInHardware(GLcontext *ctx)
if (ctx->Texture.ReallyEnabled & TEXTURE1_2D) {
if (ctx->Texture.Unit[1].EnvMode == GL_BLEND)
return GL_FALSE;
- if (ctx->Texture.Unit[0].Current->Image[0]->Border > 0)
+ if (ctx->Texture.Unit[1].Current->Image[0]->Border > 0)
return GL_FALSE;
}