From 99347e91789217a294172cb670b349fb6eb1c5d9 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Andre Date: Mon, 13 Apr 2015 21:29:37 +0900 Subject: [PATCH] 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 0db548538a..a8f95ed253 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;