summaryrefslogtreecommitdiff
path: root/legacy/evas/src/modules/engines/gl_sdl/evas_engine.c
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2012-09-07 05:57:22 +0000
committerCarsten Haitzler <raster@rasterman.com>2012-09-07 05:57:22 +0000
commitee49da76654fecda48c70d0b50dc8b658e1b8232 (patch)
tree5d2e70912b88a07ff2996d2b1a8cd245b2bc2633 /legacy/evas/src/modules/engines/gl_sdl/evas_engine.c
parentf4cc630f3abd0d0fd365423983bd7f0465977033 (diff)
fix image alpha set bug.
SVN revision: 76277
Diffstat (limited to '')
-rw-r--r--legacy/evas/src/modules/engines/gl_sdl/evas_engine.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/legacy/evas/src/modules/engines/gl_sdl/evas_engine.c b/legacy/evas/src/modules/engines/gl_sdl/evas_engine.c
index c032ad14b6..8a27f1f94b 100644
--- a/legacy/evas/src/modules/engines/gl_sdl/evas_engine.c
+++ b/legacy/evas/src/modules/engines/gl_sdl/evas_engine.c
@@ -390,6 +390,8 @@ eng_image_alpha_set(void *data, void *image, int has_alpha)
390 { 390 {
391 Evas_GL_Image *im_new; 391 Evas_GL_Image *im_new;
392 392
393 if (!im->im->image.data)
394 evas_cache_image_load_data(&im->im->cache_entry);
393 im_new = evas_gl_common_image_new_from_copied_data(im->gc, im->im->cache_entry.w, im->im->cache_entry.h, im->im->image.data, 395 im_new = evas_gl_common_image_new_from_copied_data(im->gc, im->im->cache_entry.w, im->im->cache_entry.h, im->im->image.data,
394 eng_image_alpha_get(data, image), 396 eng_image_alpha_get(data, image),
395 eng_image_colorspace_get(data, image)); 397 eng_image_colorspace_get(data, image));