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-11 15:12:29 -0500
committerMike Blumenkrantz <zmike@osg.samsung.com>2016-04-19 15:11:09 -0400
commit4c61ec5e054ade6d025d4922e75ad49115416bcf (patch)
tree51aaa7f268cf64b5942143e141e2d1549f9af9ea /src/modules/evas/engines/wayland_shm/evas_shm.c
parent7cd26930756ddd425c4fb7c10db62037a4d6a1e8 (diff)
wayland_shm: Remove unused dx, dy params from resize functions
We don't appear to actually use these for anything except long term storage
Diffstat (limited to 'src/modules/evas/engines/wayland_shm/evas_shm.c')
-rw-r--r--src/modules/evas/engines/wayland_shm/evas_shm.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/modules/evas/engines/wayland_shm/evas_shm.c b/src/modules/evas/engines/wayland_shm/evas_shm.c
index 3ea3da971f..59aa47e647 100644
--- a/src/modules/evas/engines/wayland_shm/evas_shm.c
+++ b/src/modules/evas/engines/wayland_shm/evas_shm.c
@@ -65,7 +65,6 @@ struct _Shm_Surface
65 struct wl_shm *shm; 65 struct wl_shm *shm;
66 struct wl_surface *surface; 66 struct wl_surface *surface;
67 int w, h; 67 int w, h;
68 int dx, dy;
69 int num_buff; 68 int num_buff;
70 int compositor_version; 69 int compositor_version;
71 70
@@ -409,8 +408,6 @@ _evas_shm_surface_create(struct wl_display *disp, struct wl_shm *shm, struct wl_
409 s->type = SURFACE_SHM; 408 s->type = SURFACE_SHM;
410 surf = s->surf.shm; 409 surf = s->surf.shm;
411 410
412 surf->dx = 0;
413 surf->dy = 0;
414 surf->w = w; 411 surf->w = w;
415 surf->h = h; 412 surf->h = h;
416 surf->disp = disp; 413 surf->disp = disp;
@@ -454,7 +451,7 @@ _evas_shm_surface_destroy(Surface *surface)
454} 451}
455 452
456void 453void
457_evas_shm_surface_reconfigure(Surface *s, int dx, int dy, int w, int h, int num_buff, uint32_t flags) 454_evas_shm_surface_reconfigure(Surface *s, int w, int h, int num_buff, uint32_t flags)
458{ 455{
459 Shm_Surface *surface; 456 Shm_Surface *surface;
460 int i = 0, resize = 0; 457 int i = 0, resize = 0;
@@ -479,8 +476,6 @@ _evas_shm_surface_reconfigure(Surface *s, int dx, int dy, int w, int h, int num_
479 476
480 surface->w = w; 477 surface->w = w;
481 surface->h = h; 478 surface->h = h;
482 surface->dx = dx;
483 surface->dy = dy;
484 surface->num_buff = num_buff; 479 surface->num_buff = num_buff;
485 480
486 for (i = 0; i < surface->num_buff; i++) 481 for (i = 0; i < surface->num_buff; i++)