send wl_buffer release after we have drawn this pixmap

Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2014-10-31 12:26:50 -04:00
parent c0c911af91
commit 240d651d2f
1 changed files with 6 additions and 0 deletions

View File

@ -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: