mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 16:08:04 +02:00
Fixed a segfault introduced by Keith's pipeline changes.
This commit is contained in:
parent
9b4536a654
commit
5c906924ed
1 changed files with 2 additions and 1 deletions
|
|
@ -246,7 +246,8 @@ static GLboolean run_texnorm_stage( GLcontext *ctx,
|
|||
return GL_TRUE;
|
||||
|
||||
for (i = 0 ; i < ctx->Const.MaxTextureUnits ; i++) {
|
||||
if (VB->TexCoordPtr[i]->size == 4)
|
||||
if (!ctx->Texture.Unit[i]._ReallyEnabled ||
|
||||
VB->TexCoordPtr[i]->size == 4)
|
||||
/* Never try to normalize homogenous tex coords! */
|
||||
continue;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue