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-12 15:46:52 -0500
committerMike Blumenkrantz <zmike@osg.samsung.com>2016-04-19 15:11:10 -0400
commit2c33bae2d51995a84a1a71b0fc9cdc8a5130de11 (patch)
tree99f5d4542d3497fff42c3998461fde033d2ffe13 /src/modules/evas/engines/wayland_shm/evas_shm.c
parente5fb4cada756f0870745cc759045afd16404890d (diff)
wayland_shm: Don't pass num_buff to reconfigure
We can't really reconfigure the number of buffers after they're created, there's nothing above us that would try to do it...
Diffstat (limited to 'src/modules/evas/engines/wayland_shm/evas_shm.c')
-rw-r--r--src/modules/evas/engines/wayland_shm/evas_shm.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/modules/evas/engines/wayland_shm/evas_shm.c b/src/modules/evas/engines/wayland_shm/evas_shm.c
index d73f391125..6e8c711f97 100644
--- a/src/modules/evas/engines/wayland_shm/evas_shm.c
+++ b/src/modules/evas/engines/wayland_shm/evas_shm.c
@@ -411,7 +411,7 @@ _evas_shm_surface_destroy(Surface *surface)
411} 411}
412 412
413void 413void
414_evas_shm_surface_reconfigure(Surface *s, int w, int h, int num_buff, uint32_t flags) 414_evas_shm_surface_reconfigure(Surface *s, int w, int h, uint32_t flags)
415{ 415{
416 Shm_Surface *surface; 416 Shm_Surface *surface;
417 int i = 0, resize = 0; 417 int i = 0, resize = 0;
@@ -436,7 +436,6 @@ _evas_shm_surface_reconfigure(Surface *s, int w, int h, int num_buff, uint32_t f
436 436
437 surface->w = w; 437 surface->w = w;
438 surface->h = h; 438 surface->h = h;
439 surface->num_buff = num_buff;
440 439
441 for (i = 0; i < surface->num_buff; i++) 440 for (i = 0; i < surface->num_buff; i++)
442 { 441 {