jpeg pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=99347e91789217a294172cb670b349fb6eb1c5d9

commit 99347e91789217a294172cb670b349fb6eb1c5d9
Author: Jean-Philippe Andre <jp.an...@samsung.com>
Date:   Mon Apr 13 21:29:37 2015 +0900

    Evas GL common: Fix texture preload with RGB+Alpha
---
 src/modules/evas/engines/gl_common/evas_gl_texture.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/modules/evas/engines/gl_common/evas_gl_texture.c 
b/src/modules/evas/engines/gl_common/evas_gl_texture.c
index 0db5485..a8f95ed 100644
--- a/src/modules/evas/engines/gl_common/evas_gl_texture.c
+++ b/src/modules/evas/engines/gl_common/evas_gl_texture.c
@@ -519,9 +519,7 @@ evas_gl_common_texture_new(Evas_Engine_GL_Context *gc, 
RGBA_Image *im)
         yoffset = im->cache_entry.borders.t;
         break;
       case EVAS_COLORSPACE_ETC1_ALPHA:
-        // One must call evas_gl_common_texture_rgb_a_pair_new() instead.
-        ERR("Trying to upload ETC1+Alpha texture as a normal texture. Abort.");
-        return NULL;
+        return evas_gl_common_texture_rgb_a_pair_new(gc, im);
      default:
         // One pixel gap and two pixels for duplicated borders
         w = im->cache_entry.w + 3;

-- 


Reply via email to