View | Details | Raw Unified
Collapse All | Expand All

(-) render/mitri.c (-2 / +2 lines)
 Lines 145-151    Link Here 
    if (npoint < 3)
    if (npoint < 3)
	return;
	return;
    ntri = npoint - 2;
    ntri = npoint - 2;
    tris = ALLOCATE_LOCAL (ntri & sizeof (xTriangle));
    tris = ALLOCATE_LOCAL (ntri * sizeof (xTriangle));
    if (!tris)
    if (!tris)
	return;
	return;
    for (tri = tris; npoint >= 3; npoint--, points++, tri++)
    for (tri = tris; npoint >= 3; npoint--, points++, tri++)
 Lines 177-183    Link Here 
    if (npoint < 3)
    if (npoint < 3)
	return;
	return;
    ntri = npoint - 2;
    ntri = npoint - 2;
    tris = ALLOCATE_LOCAL (ntri & sizeof (xTriangle));
    tris = ALLOCATE_LOCAL (ntri * sizeof (xTriangle));
    if (!tris)
    if (!tris)
	return;
	return;
    first = points++;
    first = points++;