discomfitor pushed a commit to branch enlightenment-0.21.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=f006caaee71ac18b3e5661a0c461c0e313a058bf

commit f006caaee71ac18b3e5661a0c461c0e313a058bf
Author: Derek Foreman <der...@osg.samsung.com>
Date:   Wed Jun 7 12:12:16 2017 -0500

    clean up some code
    
    remove write-only variable in the pixmap struct
---
 src/bin/e_pixmap.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/bin/e_pixmap.c b/src/bin/e_pixmap.c
index 3989057ec..4f9a8e4ce 100644
--- a/src/bin/e_pixmap.c
+++ b/src/bin/e_pixmap.c
@@ -46,7 +46,6 @@ struct _E_Pixmap
 
 #ifdef HAVE_WAYLAND
    E_Comp_Wl_Buffer *buffer;
-   E_Comp_Wl_Buffer *native_buffer;
    E_Comp_Wl_Buffer *held_buffer;
    struct wl_listener buffer_destroy_listener;
    struct wl_listener held_buffer_destroy_listener;
@@ -724,7 +723,6 @@ e_pixmap_native_surface_init(E_Pixmap *cp, 
Evas_Native_Surface *ns)
 
              ns->data.wl_dmabuf.attr = &cp->buffer->dmabuf_buffer->attributes;
              ns->data.wl_dmabuf.resource = cp->buffer->resource;
-             cp->native_buffer = cp->buffer;
              ret = EINA_TRUE;
           }
         else if (!cp->buffer->shm_buffer)

-- 


Reply via email to