summaryrefslogtreecommitdiff
path: root/src/lib/ecore_wl2/ecore_wl2_buffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/ecore_wl2/ecore_wl2_buffer.c')
-rw-r--r--src/lib/ecore_wl2/ecore_wl2_buffer.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/ecore_wl2/ecore_wl2_buffer.c b/src/lib/ecore_wl2/ecore_wl2_buffer.c
index 19f8bb5e7e..1db05f1164 100644
--- a/src/lib/ecore_wl2/ecore_wl2_buffer.c
+++ b/src/lib/ecore_wl2/ecore_wl2_buffer.c
@@ -665,6 +665,12 @@ ecore_wl2_buffer_discard(Ecore_Wl2_Buffer *buf)
665} 665}
666 666
667EAPI void 667EAPI void
668ecore_wl2_buffer_lock(Ecore_Wl2_Buffer *b)
669{
670 b->locked = EINA_TRUE;
671}
672
673EAPI void
668ecore_wl2_buffer_unlock(Ecore_Wl2_Buffer *b) 674ecore_wl2_buffer_unlock(Ecore_Wl2_Buffer *b)
669{ 675{
670 ecore_wl2_buffer_unmap(b); 676 ecore_wl2_buffer_unmap(b);