wayland_egl: use glsym_func_bool instead of glsym_func_int 03/225903/2
authorYeongjong Lee <yj34.lee@samsung.com>
Tue, 25 Feb 2020 08:04:58 +0000 (17:04 +0900)
committerHermet Park <chuneon.park@samsung.com>
Wed, 26 Feb 2020 09:12:17 +0000 (09:12 +0000)
return type of `glsym_eglDestroySyncKHR` is EGLBoolean.

@tizen_fix
Change-Id: I20c9b6371a26f9a6a2ce88cabd83364e74267ed1

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

index ce06f15..e37201c 100755 (executable)
@@ -31,6 +31,7 @@ struct _Render_Engine
 typedef void (*glsym_func_void) ();
 typedef void *(*glsym_func_void_ptr) ();
 typedef int (*glsym_func_int) ();
+typedef EGLBoolean (*glsym_func_bool) ();
 typedef unsigned int (*glsym_func_uint) ();
 typedef const char *(*glsym_func_const_char_ptr) ();
 
@@ -188,7 +189,7 @@ eng_gl_symbols(EGLDisplay edsp)
            glsym_func_uint);
 
    FINDSYM(glsym_eglCreateSyncKHR, "eglCreateSyncKHR", glsym_func_void_ptr);
-   FINDSYM(glsym_eglDestroySyncKHR, "eglDestroySyncKHR", glsym_func_int);
+   FINDSYM(glsym_eglDestroySyncKHR, "eglDestroySyncKHR", glsym_func_bool);
    FINDSYM(glsym_eglWaitSyncKHR, "eglWaitSyncKHR", glsym_func_int);
 
    done = EINA_TRUE;