gl_drm: use dlsym looked up symbol for extension check
authorDerek Foreman <derek.foreman.samsung@gmail.com>
Mon, 3 Dec 2018 19:25:30 +0000 (13:25 -0600)
committerWonki Kim <wonki_.kim@samsung.com>
Tue, 18 Dec 2018 04:23:55 +0000 (13:23 +0900)
We looked this up with dlsym, so I guess we should use that even though
the direct call seems to work just fine most of the time.

Signed-off-by: Derek Foreman <derek.foreman.samsung@gmail.com>
Reviewed-by: Chris Michael <cp.michael@samsung.com>
Differential Revision: https://phab.enlightenment.org/D7433

src/modules/evas/engines/gl_drm/evas_engine.c

index 049398e..1aeb389 100755 (executable)
@@ -240,7 +240,7 @@ eng_egl_symbols(EGLDisplay edsp)
    FINDSYM(glsym_eglQueryWaylandBufferWL, "eglQueryWaylandBufferWL",
            glsym_func_uint);
 
-   if (evas_gl_extension_string_check(exts, "EGL_IMG_context_priority"))
+   if (_ckext(exts, "EGL_IMG_context_priority"))
      _extn_have_context_priority = 1;
 
    done = EINA_TRUE;