summaryrefslogtreecommitdiff
path: root/src/modules/evas/engines/wayland_shm/evas_shm.c
diff options
context:
space:
mode:
authorDerek Foreman <derekf@osg.samsung.com>2016-04-08 14:51:40 -0500
committerMike Blumenkrantz <zmike@osg.samsung.com>2016-04-19 15:11:09 -0400
commit7e2f5e759e2eaf00f3850b84aa39384b3d0acc42 (patch)
tree95d2be95cc8567b1201e298732452e3d3fc1e76a /src/modules/evas/engines/wayland_shm/evas_shm.c
parent745435deabfc4574137fa5bfc3a371b3a3105561 (diff)
wayland_shm: Remove flags
We only used this for resize, and didn't actually even need it then.
Diffstat (limited to 'src/modules/evas/engines/wayland_shm/evas_shm.c')
-rw-r--r--src/modules/evas/engines/wayland_shm/evas_shm.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/modules/evas/engines/wayland_shm/evas_shm.c b/src/modules/evas/engines/wayland_shm/evas_shm.c
index 6fd8153b1a..9a2f5bb5f4 100644
--- a/src/modules/evas/engines/wayland_shm/evas_shm.c
+++ b/src/modules/evas/engines/wayland_shm/evas_shm.c
@@ -370,7 +370,6 @@ _evas_shm_surface_create(struct wl_display *disp, struct wl_shm *shm, struct wl_
370 surf->surface = surface; 370 surf->surface = surface;
371 surf->num_buff = num_buff; 371 surf->num_buff = num_buff;
372 surf->alpha = alpha; 372 surf->alpha = alpha;
373 surf->flags = 0;
374 surf->compositor_version = compositor_version; 373 surf->compositor_version = compositor_version;
375 374
376 /* create surface buffers */ 375 /* create surface buffers */
@@ -410,7 +409,7 @@ _evas_shm_surface_reconfigure(Shm_Surface *surface, int dx, int dy, int w, int h
410 409
411 LOGFN(__FILE__, __LINE__, __FUNCTION__); 410 LOGFN(__FILE__, __LINE__, __FUNCTION__);
412 411
413 resize = !!(flags & SURFACE_HINT_RESIZING); 412 resize = !!flags;
414 413
415 for (; i < surface->num_buff; i++) 414 for (; i < surface->num_buff; i++)
416 { 415 {
@@ -429,7 +428,6 @@ _evas_shm_surface_reconfigure(Shm_Surface *surface, int dx, int dy, int w, int h
429 surface->h = h; 428 surface->h = h;
430 surface->dx = dx; 429 surface->dx = dx;
431 surface->dy = dy; 430 surface->dy = dy;
432 surface->flags = flags;
433 surface->num_buff = num_buff; 431 surface->num_buff = num_buff;
434 432
435 for (i = 0; i < surface->num_buff; i++) 433 for (i = 0; i < surface->num_buff; i++)