fixed bad texture border test (sometimes caused a segfault)

This commit is contained in:
Brian Paul 2001-05-10 12:57:12 +00:00
parent 72deb502d7
commit ad51be1ad4

View file

@ -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;
}