ecore_wl2_tbmsurface: add purge option to surface flush 01/207101/2
authorYeongjong Lee <yj34.lee@samsung.com>
Thu, 30 May 2019 03:46:40 +0000 (12:46 +0900)
committerHermet Park <chuneon.park@samsung.com>
Tue, 4 Jun 2019 01:51:23 +0000 (01:51 +0000)
This patch fixes compiler warning
`lib/ecore_wl2/ecore_wl2_tbmsurface.c:419:13: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
.flush = _evas_tbmbuf_surface_flush,`

ref 486cc513aabde061d9ead25b7e5f4b0814a023a1

Change-Id: Ib93127fbe33c197d1308ad57151b24804f23b682

src/lib/ecore_wl2/ecore_wl2_tbmsurface.c

index 34a2761..dd36b64 100755 (executable)
@@ -381,7 +381,7 @@ _evas_tbmbuf_surface_destroy(Ecore_Wl2_Surface *surface, void *priv_data)
 }
 
 static void
-_evas_tbmbuf_surface_flush(Ecore_Wl2_Surface *surface EINA_UNUSED,  void *priv_data EINA_UNUSED)
+_evas_tbmbuf_surface_flush(Ecore_Wl2_Surface *surface EINA_UNUSED,  void *priv_data EINA_UNUSED, Eina_Bool purge EINA_UNUSED)
 {
 }