summaryrefslogtreecommitdiff
path: root/src/modules/evas/engines/gl_common/evas_gl_texture.c
diff options
context:
space:
mode:
authorWooHyun Jung <wh0705.jung@samsung.com>2015-07-02 21:54:51 +0900
committerWooHyun Jung <wh0705.jung@samsung.com>2015-07-02 21:54:51 +0900
commitea6a31ac553921db84a87707145a513d0e3aac9f (patch)
treefb823c651134175f20a5aff5d5cd2e2787b2f7ef /src/modules/evas/engines/gl_common/evas_gl_texture.c
parentf33161c9ea7e2848491ece52c2439e14bf8a2c21 (diff)
Evas gl_common: Fix up error handling
Diffstat (limited to '')
-rw-r--r--src/modules/evas/engines/gl_common/evas_gl_texture.c2
1 files changed, 1 insertions, 1 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 39b97ae8f5..569a28a5de 100644
--- a/src/modules/evas/engines/gl_common/evas_gl_texture.c
+++ b/src/modules/evas/engines/gl_common/evas_gl_texture.c
@@ -786,7 +786,7 @@ _pool_tex_dynamic_new(Evas_Engine_GL_Context *gc, int w, int h, int intformat, i
786#endif 786#endif
787 case GL_RGBA: attr[5] = EGL_MAP_GL_TEXTURE_RGBA_SEC; break; 787 case GL_RGBA: attr[5] = EGL_MAP_GL_TEXTURE_RGBA_SEC; break;
788 case GL_BGRA: attr[5] = EGL_MAP_GL_TEXTURE_BGRA_SEC; break; 788 case GL_BGRA: attr[5] = EGL_MAP_GL_TEXTURE_BGRA_SEC; break;
789 default: ERR("SEC map: unknown format"); return NULL; 789 default: ERR("SEC map: unknown format"); goto error;
790 } 790 }
791 791
792 attr[1] = pt->w; 792 attr[1] = pt->w;