diff options
author | Derek Foreman <derekf@osg.samsung.com> | 2018-01-26 10:52:14 -0600 |
---|---|---|
committer | Derek Foreman <derekf@osg.samsung.com> | 2018-01-26 15:53:59 -0600 |
commit | e4122da2113d8945086f70ced96c211fbc0dfdb5 (patch) | |
tree | de4cc15d4a3ac3ed0c4697460b29fccbbf902c19 /src/lib/ecore_wl2/ecore_wl2_surface.c | |
parent | 3ef46710855f49fe5f1644efdc55c4095d457a2a (diff) |
ecore_wl2: Remove force from surface reconfigure
It no longer has any users or need to exist.
Diffstat (limited to 'src/lib/ecore_wl2/ecore_wl2_surface.c')
-rw-r--r-- | src/lib/ecore_wl2/ecore_wl2_surface.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/ecore_wl2/ecore_wl2_surface.c b/src/lib/ecore_wl2/ecore_wl2_surface.c index 94804dd0f3..ca5bfc5a51 100644 --- a/src/lib/ecore_wl2/ecore_wl2_surface.c +++ b/src/lib/ecore_wl2/ecore_wl2_surface.c | |||
@@ -30,7 +30,7 @@ _evas_dmabuf_surface_check(Ecore_Wl2_Window *win) | |||
30 | } | 30 | } |
31 | 31 | ||
32 | static void | 32 | static void |
33 | _evas_dmabuf_surface_reconfigure(Ecore_Wl2_Surface *s, int w, int h, uint32_t flags EINA_UNUSED, Eina_Bool force) | 33 | _evas_dmabuf_surface_reconfigure(Ecore_Wl2_Surface *s, int w, int h, uint32_t flags EINA_UNUSED) |
34 | { | 34 | { |
35 | Ecore_Wl2_Buffer *b; | 35 | Ecore_Wl2_Buffer *b; |
36 | Eina_List *l, *tmp; | 36 | Eina_List *l, *tmp; |
@@ -38,7 +38,7 @@ _evas_dmabuf_surface_reconfigure(Ecore_Wl2_Surface *s, int w, int h, uint32_t fl | |||
38 | if ((!w) || (!h)) return; | 38 | if ((!w) || (!h)) return; |
39 | EINA_LIST_FOREACH_SAFE(s->buffers, l, tmp, b) | 39 | EINA_LIST_FOREACH_SAFE(s->buffers, l, tmp, b) |
40 | { | 40 | { |
41 | if (!force && ecore_wl2_buffer_fit(b, w, h)) | 41 | if (ecore_wl2_buffer_fit(b, w, h)) |
42 | continue; | 42 | continue; |
43 | 43 | ||
44 | ecore_wl2_buffer_destroy(b); | 44 | ecore_wl2_buffer_destroy(b); |
@@ -183,11 +183,11 @@ ecore_wl2_surface_destroy(Ecore_Wl2_Surface *surface) | |||
183 | } | 183 | } |
184 | 184 | ||
185 | EAPI void | 185 | EAPI void |
186 | ecore_wl2_surface_reconfigure(Ecore_Wl2_Surface *surface, int w, int h, uint32_t flags, Eina_Bool force) | 186 | ecore_wl2_surface_reconfigure(Ecore_Wl2_Surface *surface, int w, int h, uint32_t flags) |
187 | { | 187 | { |
188 | EINA_SAFETY_ON_NULL_RETURN(surface); | 188 | EINA_SAFETY_ON_NULL_RETURN(surface); |
189 | 189 | ||
190 | surface->funcs->reconfigure(surface, w, h, flags, force); | 190 | surface->funcs->reconfigure(surface, w, h, flags); |
191 | } | 191 | } |
192 | 192 | ||
193 | EAPI void * | 193 | EAPI void * |