From: Ville Syrjälä <ville.syrj...@linux.intel.com> Calling render_tri_fan_verts() from render_poly_elts() doesn't seem sane. I presume the intention was to call render_tri_fan_elts() instead.
Signed-off-by: Ville Syrjälä <ville.syrj...@linux.intel.com> --- src/mesa/tnl_dd/t_dd_dmatmp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/tnl_dd/t_dd_dmatmp.h b/src/mesa/tnl_dd/t_dd_dmatmp.h index 010369f..82493a3 100644 --- a/src/mesa/tnl_dd/t_dd_dmatmp.h +++ b/src/mesa/tnl_dd/t_dd_dmatmp.h @@ -892,7 +892,7 @@ static void TAG(render_poly_elts)( struct gl_context *ctx, } else if (HAVE_TRI_FANS && (ctx->Light.ShadeModel == GL_SMOOTH || ctx->Light.ProvokingVertex == GL_FIRST_VERTEX_CONVENTION_EXT)) { - TAG(render_tri_fan_verts)( ctx, start, count, flags ); + TAG(render_tri_fan_elts)( ctx, start, count, flags ); } else { fprintf(stderr, "%s - cannot draw primitive\n", __FUNCTION__); return; -- 2.0.5 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev