summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2006-07-28 21:30:14 +0000
committerEric Anholt <[email protected]>2006-07-28 21:30:14 +0000
commit0e6ef1b1cdb546dfe6f36b7eb3e4a9223ec01ae4 (patch)
treeb3819e81304c6bdba47db3e4a973deaf04b8273e
parent32d61d06164c6247bed0fbf301afd24ce5d3473e (diff)
Fix build failure in the savage driver.
-rw-r--r--src/mesa/tnl_dd/t_dd_dmatmp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/tnl_dd/t_dd_dmatmp.h b/src/mesa/tnl_dd/t_dd_dmatmp.h
index 37bca95d4b8..e4b535fb680 100644
--- 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__);