evas: removing redundant check in gl_x11 backend.

Summary:
Checking for NULL is redundant here, because if cfgs was NULL, then at
line 760 it would fail.

Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>

Reviewers: cedric

Differential Revision: https://phab.enlightenment.org/D3238

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
This commit is contained in:
Srivardhan Hebbar 2015-10-30 06:53:36 +01:00 committed by Cedric BAIL
parent 96f936e6d3
commit b9d8426eb7
1 changed files with 1 additions and 1 deletions

View File

@ -773,7 +773,7 @@ evgl_eng_pbuffer_surface_create(void *data, EVGL_Surface *sfc,
surface_attrs[i++] = sfc->h;
surface_attrs[i++] = 0;
pbuf = glXCreatePbuffer(re->software.ob->disp, cfgs[0], surface_attrs);
if (cfgs) XFree(cfgs);
XFree(cfgs);
if (!pbuf)
{