devilhorns pushed a commit to branch master.

commit 3482b916249f6ed20c21d916998e2735c0912b3c
Author: Chris Michael <[email protected]>
Date:   Mon Jul 22 08:29:37 2013 +0100

    No longer necessary to set the surface user_data to be equal to the
    buffer.
    
    Signed-off-by: Chris Michael <[email protected]>
---
 src/modules/evas/engines/wayland_shm/evas_swapper.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/modules/evas/engines/wayland_shm/evas_swapper.c 
b/src/modules/evas/engines/wayland_shm/evas_swapper.c
index 74ad08e..d8636e4 100644
--- a/src/modules/evas/engines/wayland_shm/evas_swapper.c
+++ b/src/modules/evas/engines/wayland_shm/evas_swapper.c
@@ -486,7 +486,6 @@ _evas_swapper_buffer_put(Wl_Swapper *ws, Wl_Buffer *wb, 
Eina_Rectangle *rects, u
    if (sent != wb)
      {
         wl_surface_attach(ws->surface, wb->buffer, ws->dx, ws->dy);
-        wl_surface_set_user_data(ws->surface, wb->buffer);
         ws->dx = 0;
         ws->dy = 0;
         sent = wb;

-- 

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk

Reply via email to