summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHermet Park <hermet@hermet.pe.kr>2016-09-21 16:24:42 +0900
committerHermet Park <hermet@hermet.pe.kr>2016-09-21 16:24:42 +0900
commitc998fd5ee7e90f1861aba6d4a44d8c0b5387bb61 (patch)
treec0815cd5ae3dfb4df5560b13d06107482672436f /src
parent6de3b2c5d36993cf3dbe94e8fbefd04043f91740 (diff)
evas software_engine: ++safety code.
Diffstat (limited to 'src')
-rw-r--r--src/modules/evas/engines/software_generic/evas_engine.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/evas/engines/software_generic/evas_engine.c b/src/modules/evas/engines/software_generic/evas_engine.c
index 62ad71aa11..2755b48a94 100644
--- a/src/modules/evas/engines/software_generic/evas_engine.c
+++ b/src/modules/evas/engines/software_generic/evas_engine.c
@@ -2869,6 +2869,7 @@ eng_image_map_surface_new(void *data EINA_UNUSED, int w, int h, int alpha)
2869 surface = evas_cache2_image_copied_data(evas_common_image_cache2_get(), 2869 surface = evas_cache2_image_copied_data(evas_common_image_cache2_get(),
2870 w, h, NULL, alpha, 2870 w, h, NULL, alpha,
2871 EVAS_COLORSPACE_ARGB8888); 2871 EVAS_COLORSPACE_ARGB8888);
2872 if (!surface) return NULL;
2872 evas_cache2_image_pixels(surface); 2873 evas_cache2_image_pixels(surface);
2873 return surface; 2874 return surface;
2874 } 2875 }
@@ -2876,6 +2877,7 @@ eng_image_map_surface_new(void *data EINA_UNUSED, int w, int h, int alpha)
2876 surface = evas_cache_image_copied_data(evas_common_image_cache_get(), 2877 surface = evas_cache_image_copied_data(evas_common_image_cache_get(),
2877 w, h, NULL, alpha, 2878 w, h, NULL, alpha,
2878 EVAS_COLORSPACE_ARGB8888); 2879 EVAS_COLORSPACE_ARGB8888);
2880 if (!surface) return NULL;
2879 evas_cache_image_pixels(surface); 2881 evas_cache_image_pixels(surface);
2880 return surface; 2882 return surface;
2881} 2883}