summaryrefslogtreecommitdiff
path: root/src/lib/ector/software/ector_software_surface.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/ector/software/ector_software_surface.c')
-rw-r--r--src/lib/ector/software/ector_software_surface.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/ector/software/ector_software_surface.c b/src/lib/ector/software/ector_software_surface.c
index 1008fe5..40dbe67 100644
--- a/src/lib/ector/software/ector_software_surface.c
+++ b/src/lib/ector/software/ector_software_surface.c
@@ -259,6 +259,8 @@ _ector_software_surface_ector_surface_draw_image(Eo *obj EINA_UNUSED,
259 const int pix_stride = pd->rasterizer->fill_data.raster_buffer->stride / 4; 259 const int pix_stride = pd->rasterizer->fill_data.raster_buffer->stride / 4;
260 260
261 uint32_t *src = bd->pixels.u32; 261 uint32_t *src = bd->pixels.u32;
262 if (!src) return EINA_FALSE;
263
262 for (unsigned int local_y = 0; local_y < bd->generic->h; local_y++) 264 for (unsigned int local_y = 0; local_y < bd->generic->h; local_y++)
263 { 265 {
264 uint32_t *dst = pd->rasterizer->fill_data.raster_buffer->pixels.u32 + (x + ((local_y + y) * pix_stride)); 266 uint32_t *dst = pd->rasterizer->fill_data.raster_buffer->pixels.u32 + (x + ((local_y + y) * pix_stride));