forked from enlightenment/efl
evas: fix crash with Evas buffer when target colorspace has no alpha.
This commit is contained in:
parent
c16daf940f
commit
f11dc2f184
|
@ -1,3 +1,7 @@
|
|||
2013-03-04 Cedric Bail
|
||||
|
||||
* Evas: fix crash with Buffer engine with non alpha output.
|
||||
|
||||
2013-03-30 Cedric Bail
|
||||
|
||||
* Evil: Add mkdtemp.
|
||||
|
|
1
NEWS
1
NEWS
|
@ -219,3 +219,4 @@ Fixes:
|
|||
* Ecore_x: fix alpha set function not clear sync counter
|
||||
* Fix evas word start/end find in textblock to be consistent with other toolkit logic on the matter
|
||||
* Fix edje entry to respect filters and if input filtered out, don't clear selections
|
||||
* Fix evas buffer engine allocation with non alpha output
|
||||
|
|
|
@ -121,6 +121,8 @@ evas_buffer_outbuf_buf_new_region_for_update(Outbuf *buf, int x, int y, int w, i
|
|||
((buf->depth == OUTBUF_DEPTH_BGRA_32BPP_8888_8888)))
|
||||
{
|
||||
im->cache_entry.flags.alpha = 1;
|
||||
}
|
||||
|
||||
#ifdef EVAS_CSERVE2
|
||||
if (evas_cserve2_use_get())
|
||||
evas_cache2_image_size_set(&im->cache_entry, w, h);
|
||||
|
@ -129,7 +131,6 @@ evas_buffer_outbuf_buf_new_region_for_update(Outbuf *buf, int x, int y, int w, i
|
|||
im = (RGBA_Image *) evas_cache_image_size_set(&im->cache_entry, w, h);
|
||||
}
|
||||
}
|
||||
}
|
||||
return im;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue