unless I'm going insane, this should return here to avoid an immediate null deref with configs[i]

SVN revision: 56099
This commit is contained in:
Mike Blumenkrantz 2011-01-14 06:35:03 +00:00
parent 39eb62a758
commit d46942090d
1 changed files with 1 additions and 0 deletions

View File

@ -713,6 +713,7 @@ eng_best_visual_get(Evas_Engine_Info_GL_X11 *einfo)
if ((!configs) || (num < 1))
{
ERR("glXChooseFBConfig returned no configs");
return NULL;
}
for (i = 0; i < num; i++)
{