devilhorns pushed a commit to branch master.

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

commit 240d651d2f67c4d94db1ade12f1731e155b417bd
Author: Chris Michael <cp.mich...@samsung.com>
Date:   Fri Oct 31 12:26:50 2014 -0400

    send wl_buffer release after we have drawn this pixmap
    
    Signed-off-by: Chris Michael <cp.mich...@samsung.com>
---
 src/bin/e_pixmap.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/bin/e_pixmap.c b/src/bin/e_pixmap.c
index fb34f18..b4b639a 100644
--- a/src/bin/e_pixmap.c
+++ b/src/bin/e_pixmap.c
@@ -620,6 +620,12 @@ e_pixmap_image_clear(E_Pixmap *cp, Eina_Bool cache)
                   wl_resource_destroy(cb);
                }
           }
+
+        if (cache)
+          {
+             if (cp->resource) wl_buffer_send_release(cp->resource);
+             cp->resource = NULL;
+          }
 #endif
         break;
       default:

-- 


Reply via email to