forked from enlightenment/efl
evas-gl common: clarify cryptic error message
This commit is contained in:
parent
5754e8ccc5
commit
35c0dfde1d
|
@ -120,7 +120,7 @@ _evgl_egl_display_get(const char *function)
|
||||||
|
|
||||||
if (!rsc->current_eng)
|
if (!rsc->current_eng)
|
||||||
{
|
{
|
||||||
ERR("%s: Unable to retrieve Current Engine", function);
|
ERR("%s: no current engine set; ensure you've called evas_gl_make_current()", function);
|
||||||
evas_gl_common_error_set(NULL, EVAS_GL_NOT_INITIALIZED);
|
evas_gl_common_error_set(NULL, EVAS_GL_NOT_INITIALIZED);
|
||||||
return EGL_NO_DISPLAY;
|
return EGL_NO_DISPLAY;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue