forked from enlightenment/efl
evas: correctly define stride for Ector Cairo backend.
This commit is contained in:
parent
69b64e948a
commit
83557d7175
|
@ -5054,7 +5054,7 @@ _ector_cairo_software_surface_surface_set(Eo *obj, Ector_Cairo_Software_Surface_
|
||||||
{
|
{
|
||||||
pd->surface = cairo_image_surface_create_for_data(pixels,
|
pd->surface = cairo_image_surface_create_for_data(pixels,
|
||||||
CAIRO_FORMAT_ARGB32,
|
CAIRO_FORMAT_ARGB32,
|
||||||
width, height, width);
|
width, height, width * sizeof (int));
|
||||||
if (!pd->surface) goto end;
|
if (!pd->surface) goto end;
|
||||||
|
|
||||||
pd->ctx = cairo_create(pd->surface);
|
pd->ctx = cairo_create(pd->surface);
|
||||||
|
|
Loading…
Reference in New Issue