Deleted unnecessary code. 25/76225/1 accepted/tizen/common/20160703.125905 accepted/tizen/ivi/20160629.020953 accepted/tizen/mobile/20160629.021022 accepted/tizen/tv/20160629.020958 accepted/tizen/wearable/20160629.021002 submit/tizen/20160628.092313 submit/tizen_common/20160701.180000
authorjoonbum.ko <joonbum.ko@samsung.com>
Thu, 23 Jun 2016 07:04:38 +0000 (16:04 +0900)
committerjoonbum.ko <joonbum.ko@samsung.com>
Thu, 23 Jun 2016 07:04:41 +0000 (16:04 +0900)
 - It is not useful any more but if it exist continuously, this exception code can cause some problem.

Change-Id: Ib56805fee97cc99e8f25338c08fabb93e04db180
Signed-off-by: joonbum.ko <joonbum.ko@samsung.com>
src/tpl_wayland_egl.c

index 294c1e8..227f7b1 100644 (file)
@@ -790,10 +790,6 @@ __tpl_wayland_egl_surface_dequeue_buffer(tpl_surface_t *surface)
                height = wl_egl_window->height;
                format = tbm_surface_queue_get_format(wayland_egl_surface->tbm_queue);
 
-               /* TODO: In dequeue_buffer case, does it explictly need on unref of current_buffer? */
-               if (wayland_egl_surface->current_buffer)
-                       tbm_surface_internal_unref(wayland_egl_surface->current_buffer);
-
                tbm_surface_queue_reset(wayland_egl_surface->tbm_queue, width, height, format);
                wayland_egl_surface->resized = TPL_FALSE;
                surface->width = width;