diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2001-05-10 12:57:12 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2001-05-10 12:57:12 +0000 |
commit | ad51be1ad4c60ad678405a860735901ef1e6ce94 (patch) | |
tree | 2bdebefd75c834a7b3da1c38acc33363f09ab87b /src/mesa | |
parent | 72deb502d7ed2c1e447195dfaafac818ad88b218 (diff) |
fixed bad texture border test (sometimes caused a segfault)
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/glide/fxdd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/glide/fxdd.c b/src/mesa/drivers/glide/fxdd.c index c20ccebc52..70f8e639b1 100644 --- a/src/mesa/drivers/glide/fxdd.c +++ b/src/mesa/drivers/glide/fxdd.c @@ -891,7 +891,7 @@ 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; } |