discomfitor pushed a commit to branch enlightenment-0.21.

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

commit 4088e035c6df08bee4b8e037b610d38e22b8d67e
Author: Derek Foreman <der...@osg.samsung.com>
Date:   Tue Jun 6 16:15:22 2017 -0500

    Remove some duplicate operations
    
    the native surface version was set outside of the switch statement,
    so we don't need to re-set it to the same thing here.
---
 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 ad368e4b1..3989057ec 100644
--- a/src/bin/e_pixmap.c
+++ b/src/bin/e_pixmap.c
@@ -721,7 +721,6 @@ e_pixmap_native_surface_init(E_Pixmap *cp, 
Evas_Native_Surface *ns)
         if (cp->buffer->dmabuf_buffer)
           {
              ns->type = EVAS_NATIVE_SURFACE_WL_DMABUF;
-             ns->version = EVAS_NATIVE_SURFACE_VERSION;
 
              ns->data.wl_dmabuf.attr = &cp->buffer->dmabuf_buffer->attributes;
              ns->data.wl_dmabuf.resource = cp->buffer->resource;
@@ -731,7 +730,6 @@ e_pixmap_native_surface_init(E_Pixmap *cp, 
Evas_Native_Surface *ns)
         else if (!cp->buffer->shm_buffer)
           {
              ns->type = EVAS_NATIVE_SURFACE_WL;
-             ns->version = EVAS_NATIVE_SURFACE_VERSION;
              ns->data.wl.legacy_buffer = cp->buffer->resource;
              ret = EINA_TRUE;
           }

-- 


Reply via email to