Summary:
engine internals have changed, so it's necessary to actually check whether
the glview api is available now to determine whether the glview is viable
@fix
Reviewers: devilhorns
Reviewed By: devilhorns
Subscribers: cedric, #reviewers, #committers
Tags: #efl_widgets
Differential Revision: https://phab.enlightenment.org/D9397
priv->context = evas_gl_context_create(priv->evasgl, NULL);
else
priv->context = evas_gl_context_version_create(priv->evasgl, NULL, priv->gles_version);
- if (!priv->context)
+ if ((!priv->context) || (!evas_gl_context_api_get(priv->evasgl, priv->context)))
{
ERR("Error Creating an Evas_GL Context.");
ELM_SAFE_FREE(priv->config, evas_gl_config_free);