Evas gl_common: Fix up error handling

This commit is contained in:
WooHyun Jung 2015-07-02 21:54:51 +09:00
parent f33161c9ea
commit ea6a31ac55
1 changed files with 1 additions and 1 deletions

View File

@ -786,7 +786,7 @@ _pool_tex_dynamic_new(Evas_Engine_GL_Context *gc, int w, int h, int intformat, i
#endif
case GL_RGBA: attr[5] = EGL_MAP_GL_TEXTURE_RGBA_SEC; break;
case GL_BGRA: attr[5] = EGL_MAP_GL_TEXTURE_BGRA_SEC; break;
default: ERR("SEC map: unknown format"); return NULL;
default: ERR("SEC map: unknown format"); goto error;
}
attr[1] = pt->w;