From: Brian Paul Date: Thu, 10 May 2001 12:57:12 +0000 (+0000) Subject: fixed bad texture border test (sometimes caused a segfault) X-Git-Tag: 062012170305~27159 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ad51be1ad4c60ad678405a860735901ef1e6ce94;p=profile%2Fivi%2Fmesa.git fixed bad texture border test (sometimes caused a segfault) --- diff --git a/src/mesa/drivers/glide/fxdd.c b/src/mesa/drivers/glide/fxdd.c index c20cceb..70f8e63 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; }