projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
32d61d0
)
Fix build failure in the savage driver.
author
Eric Anholt
<anholt@FreeBSD.org>
Fri, 28 Jul 2006 21:30:14 +0000
(21:30 +0000)
committer
Eric Anholt
<anholt@FreeBSD.org>
Fri, 28 Jul 2006 21:30:14 +0000
(21:30 +0000)
src/mesa/tnl_dd/t_dd_dmatmp.h
patch
|
blob
|
history
diff --git
a/src/mesa/tnl_dd/t_dd_dmatmp.h
b/src/mesa/tnl_dd/t_dd_dmatmp.h
index 37bca95d4b89c9ee3a20a5acae94fe58503254e8..e4b535fb680aecb576f52bec6567698e11ee3ede 100644
(file)
--- a/
src/mesa/tnl_dd/t_dd_dmatmp.h
+++ b/
src/mesa/tnl_dd/t_dd_dmatmp.h
@@
-986,7
+986,7
@@
static void TAG(render_poly_elts)( GLcontext *ctx,
FLUSH();
currentsz = dmasz;
}
- } else if (HAVE_TRI_FANS && Light.ShadeModel == GL_SMOOTH) {
+ } else if (HAVE_TRI_FANS &&
ctx->
Light.ShadeModel == GL_SMOOTH) {
TAG(render_tri_fan_verts)( ctx, start, count, flags );
} else {
fprintf(stderr, "%s - cannot draw primitive\n", __FUNCTION__);