mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 16:08:04 +02:00
fixed bad texture border test (sometimes caused a segfault)
This commit is contained in:
parent
72deb502d7
commit
ad51be1ad4
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue