Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Index: src/modules/engines/buffer/evas_outbuf.c
- ===================================================================
- --- src/modules/engines/buffer/evas_outbuf.c (revision 61711)
- +++ src/modules/engines/buffer/evas_outbuf.c (working copy)
- @@ -23,7 +23,6 @@
- )
- {
- Outbuf *buf;
- - int y;
- int bpp;
- buf = calloc(1, sizeof(Outbuf));
- @@ -51,9 +50,7 @@
- if ((buf->depth == OUTBUF_DEPTH_ARGB_32BPP_8888_8888) &&
- (buf->dest) && (buf->dest_row_bytes == (buf->w * sizeof(DATA32))))
- {
- - for (y = 0; y < h; y++)
- - memset(((unsigned char *)(buf->dest)) + (y * buf->dest_row_bytes),
- - 0, w * bpp);
- + memset(buf->dest, 0, w * h * bpp);
- buf->priv.back_buf = (RGBA_Image *) evas_cache_image_data(evas_common_image_cache_get(),
- w, h,
- buf->dest,
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement