forked from enlightenment/efl
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:
parent
39eb62a758
commit
d46942090d
|
@ -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++)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue