summaryrefslogtreecommitdiff
path: root/src/lib/ector/software/ector_software_rasterizer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/ector/software/ector_software_rasterizer.c')
-rw-r--r--src/lib/ector/software/ector_software_rasterizer.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/ector/software/ector_software_rasterizer.c b/src/lib/ector/software/ector_software_rasterizer.c
index fcf3438..2b995c9 100644
--- a/src/lib/ector/software/ector_software_rasterizer.c
+++ b/src/lib/ector/software/ector_software_rasterizer.c
@@ -270,8 +270,7 @@ _blend_gradient(int count, const SW_FT_Span *spans, void *user_data)
270 if (data->type == LinearGradient) fetchfunc = &fetch_linear_gradient; 270 if (data->type == LinearGradient) fetchfunc = &fetch_linear_gradient;
271 if (data->type == RadialGradient) fetchfunc = &fetch_radial_gradient; 271 if (data->type == RadialGradient) fetchfunc = &fetch_radial_gradient;
272 272
273 if (!fetchfunc) 273 if (!fetchfunc || !data->raster_buffer->pixels.u32) return;
274 return;
275 274
276 comp_func = efl_draw_func_span_get(data->op, data->mul_col, data->gradient->alpha); 275 comp_func = efl_draw_func_span_get(data->op, data->mul_col, data->gradient->alpha);
277 276