about summary refs log tree commit diff
path: root/generator/pamtris/triangle.c
diff options
context:
space:
mode:
Diffstat (limited to 'generator/pamtris/triangle.c')
-rw-r--r--generator/pamtris/triangle.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/generator/pamtris/triangle.c b/generator/pamtris/triangle.c
index 1190e760..adc53c79 100644
--- a/generator/pamtris/triangle.c
+++ b/generator/pamtris/triangle.c
@@ -70,10 +70,10 @@ draw_partial_triangle(
                 int32_t * attribs_end;
                 fract   * attribs_steps;
 
-                MALLOCARRAY(attribs_start, num_planes);
-                MALLOCARRAY(attribs_begin, num_planes);
-                MALLOCARRAY(attribs_end,   num_planes);
-                MALLOCARRAY(attribs_steps, num_planes);
+                MALLOCARRAY_NOFAIL(attribs_start, num_planes);
+                MALLOCARRAY_NOFAIL(attribs_begin, num_planes);
+                MALLOCARRAY_NOFAIL(attribs_end,   num_planes);
+                MALLOCARRAY_NOFAIL(attribs_steps, num_planes);
 
                 start_column = left_boundary;  /* initial value */
                 span_length = column_delta;    /* initial value */