gl_drm: Move the gl symbol check to immediately after display init
We don't actually need a context first, just an initialized display.
This commit is contained in:
parent
fae4ad5fbb
commit
f8658d25fa
|
@ -226,6 +226,8 @@ _evas_outbuf_egl_setup(Outbuf *ob)
|
|||
return EINA_FALSE;
|
||||
}
|
||||
|
||||
eng_gl_symbols(ob->egl.disp);
|
||||
|
||||
if (!eglGetConfigs(ob->egl.disp, NULL, 0, &ncfg) || (ncfg == 0))
|
||||
{
|
||||
ERR("eglGetConfigs() fail. code=%#x", eglGetError());
|
||||
|
@ -334,8 +336,6 @@ _evas_outbuf_egl_setup(Outbuf *ob)
|
|||
goto err;
|
||||
}
|
||||
|
||||
eng_gl_symbols(ob->egl.disp);
|
||||
|
||||
ob->gl_context = glsym_evas_gl_common_context_new();
|
||||
if (!ob->gl_context) goto err;
|
||||
|
||||
|
|
Loading…
Reference in New Issue