summaryrefslogtreecommitdiff
path: root/src/modules/evas/engines/gl_common/evas_gl_texture.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/modules/evas/engines/gl_common/evas_gl_texture.c4
1 files changed, 1 insertions, 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)
519 yoffset = im->cache_entry.borders.t; 519 yoffset = im->cache_entry.borders.t;
520 break; 520 break;
521 case EVAS_COLORSPACE_ETC1_ALPHA: 521 case EVAS_COLORSPACE_ETC1_ALPHA:
522 // One must call evas_gl_common_texture_rgb_a_pair_new() instead. 522 return evas_gl_common_texture_rgb_a_pair_new(gc, im);
523 ERR("Trying to upload ETC1+Alpha texture as a normal texture. Abort.");
524 return NULL;
525 default: 523 default:
526 // One pixel gap and two pixels for duplicated borders 524 // One pixel gap and two pixels for duplicated borders
527 w = im->cache_entry.w + 3; 525 w = im->cache_entry.w + 3;