[Mesa-dev] [PATCH 05/20] t_dd_dmatmp: Call render_tri_fan_elts from render_poly_elts

ville.syrjala at linux.intel.com ville.syrjala at linux.intel.com
Mon Mar 23 05:47:21 PDT 2015


From: Ville Syrjälä <ville.syrjala at 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.syrjala at 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



More information about the mesa-dev mailing list