{
if (!evgl_engine->funcs->gles1_surface_create)
{
+ ERR("Can't create GLES 1.1 surfaces");
evas_gl_common_error_set(eng_data, EVAS_GL_NOT_INITIALIZED);
goto error;
}
if (dbg) DBG("Created surface sfc %p (eng %p)", sfc, eng_data);
+ _surface_context_list_print();
+
return sfc;
error:
DBG("Destroying special surface used for GLES 1.x rendering");
ret = evgl_engine->funcs->gles1_surface_destroy(eng_data, sfc);
- if (!ret) ERR("Engine failed to destroy a GLES1.x Surface.");
- return ret;
+ if (!ret)
+ {
+ ERR("Engine failed to destroy a GLES1.x Surface.");
+ return ret;
+ }
}
free(sfc);
sfc = NULL;
+ _surface_context_list_print();
+
return 1;
}
// Update extensions after GLESv1 context is bound
evgl_api_gles1_ext_get(gles1_funcs);
+ _surface_context_list_print();
+
return 1;
}