projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b4536a
)
Fixed a segfault introduced by Keith's pipeline changes.
author
Felix Kuehling
<fxkuehl@gmx.de>
Sat, 23 Apr 2005 19:54:30 +0000
(19:54 +0000)
committer
Felix Kuehling
<fxkuehl@gmx.de>
Sat, 23 Apr 2005 19:54:30 +0000
(19:54 +0000)
src/mesa/drivers/dri/savage/savagerender.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/savage/savagerender.c
b/src/mesa/drivers/dri/savage/savagerender.c
index d7320ff88484c42ff26637dcf4161859ad608bd8..9eda9a591e08eda2c9d04c3226183ffc43f498b5 100644
(file)
--- a/
src/mesa/drivers/dri/savage/savagerender.c
+++ b/
src/mesa/drivers/dri/savage/savagerender.c
@@
-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;