forked from enlightenment/efl
* Evas: Fix crash if app use native surface in wrong engine.
in sw engine, visual cannot be the image data.
This commit is contained in:
parent
cc4cf77865
commit
35b8b8fbf5
|
@ -1,3 +1,7 @@
|
|||
2013-05-11 Jiyou Park
|
||||
|
||||
* Evas: Fix crash if app use native surface in wrong engine.
|
||||
|
||||
2013-05-10 Tom Hacohen
|
||||
|
||||
* Evas text: Fixed line size calculation when using multiple
|
||||
|
|
2
NEWS
2
NEWS
|
@ -266,3 +266,5 @@ Fixes:
|
|||
* Edje: fix custom states for proxy parts
|
||||
* Evas: Don't try blend on gl backened if the render option is COPY
|
||||
* Evas text: Fixed line size calculation when using multiple fonts.
|
||||
* Evas: Fix crash if app use native surface in wrong engine.
|
||||
|
||||
|
|
|
@ -922,7 +922,7 @@ eng_image_native_set(void *data EINA_UNUSED, void *image, void *native)
|
|||
|
||||
im2 = evas_cache_image_data(evas_common_image_cache_get(),
|
||||
im->w, im->h,
|
||||
ns->data.x11.visual, 1,
|
||||
NULL, 1,
|
||||
EVAS_COLORSPACE_ARGB8888);
|
||||
if (im->references > 1)
|
||||
ERR("Setting native with more than one references for im=%p", im);
|
||||
|
|
Loading…
Reference in New Issue