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-06 14:18:36 +0900
committerWooHyun Jung <wh0705.jung@samsung.com>2015-07-06 14:18:36 +0900
commit1390f65beb6e723fa6afa794d280d7b8087da10c (patch)
tree8c31f0be971dadc056f3898bcab26887540e902d /src/modules/evas/engines/gl_common/evas_gl_texture.c
parentecc17e621eb752a85b8da3c58c6dacef973213a3 (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 569a28a5de..b54f650842 100644
--- a/src/modules/evas/engines/gl_common/evas_gl_texture.c
+++ b/src/modules/evas/engines/gl_common/evas_gl_texture.c
@@ -742,7 +742,7 @@ _pool_tex_dynamic_new(Evas_Engine_GL_Context *gc, int w, int h, int intformat, i
742 case GL_RGBA: buffer_format = TBM_FORMAT_RGBA8888; break; 742 case GL_RGBA: buffer_format = TBM_FORMAT_RGBA8888; break;
743 case GL_BGRA: buffer_format = TBM_FORMAT_BGRA8888; break; 743 case GL_BGRA: buffer_format = TBM_FORMAT_BGRA8888; break;
744 case GL_RGB: buffer_format = TBM_FORMAT_RGB888; break; 744 case GL_RGB: buffer_format = TBM_FORMAT_RGB888; break;
745 default: ERR("TBM: unknown format"); return NULL; 745 default: ERR("TBM: unknown format"); goto error;
746 } 746 }
747 747
748 pt->dyn.buffer = (void *)secsym_tbm_surface_create(pt->w, pt->h, 748 pt->dyn.buffer = (void *)secsym_tbm_surface_create(pt->w, pt->h,