evas-gl common: clarify cryptic error message
authorMike Blumenkrantz <zmike@osg.samsung.com>
Mon, 4 May 2015 21:11:08 +0000 (17:11 -0400)
committerMike Blumenkrantz <zmike@osg.samsung.com>
Mon, 4 May 2015 21:11:43 +0000 (17:11 -0400)
src/modules/evas/engines/gl_common/evas_gl_api_ext.c

index 45541724ec0677e2c5e148834890a13162d5f612..1aae248d09957a80d32a0213407ccf57c343b836 100644 (file)
@@ -120,7 +120,7 @@ _evgl_egl_display_get(const char *function)
 
    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);
         return EGL_NO_DISPLAY;
      }