PUI: fix to use ecore_wl2_window_native_surface_get() instead of ecore_wl2_window_sur... 77/228177/1
authorSung-Jin Park <sj76.park@samsung.com>
Thu, 19 Mar 2020 09:57:23 +0000 (18:57 +0900)
committerSung-Jin Park <sj76.park@samsung.com>
Thu, 19 Mar 2020 09:57:23 +0000 (18:57 +0900)
Change-Id: Icbf50de9411f49fb7e3d879b80a04b3f7b47aebb
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
src/PUI.c

index 463956e..c13761a 100644 (file)
--- a/src/PUI.c
+++ b/src/PUI.c
@@ -446,7 +446,7 @@ pui_create(Ecore_Wl2_Window *win)
                handle->last_buffer.size = sizeof(unsigned char) * w * h * 4;
 
        handle->tbm_queue = wayland_tbm_client_create_surface_queue(handle->wl_tbm_client,
-                                                               ecore_wl2_window_surface_get(handle->win),
+                                                               (struct wl_surface *)ecore_wl2_window_native_surface_get(handle->win),
                                                                3, w, h, TBM_FORMAT_ABGR8888);
 
        if (!handle->tbm_queue)