summaryrefslogtreecommitdiff
path: root/src/lib/ecore_evas/ecore_evas_buffer.c
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2017-04-28 13:40:26 -0700
committerCedric BAIL <cedric@osg.samsung.com>2017-04-28 16:11:23 -0700
commit1bd82596a698017cbc1bad443a50d720e1d0ae4f (patch)
tree59307e11c42194ad47a35227cd774433286fb649 /src/lib/ecore_evas/ecore_evas_buffer.c
parentda8efae8c0a3938e08d80e0d5367bb6228107094 (diff)
ecore_evas: properly warn when we are already rendering.
Diffstat (limited to 'src/lib/ecore_evas/ecore_evas_buffer.c')
-rw-r--r--src/lib/ecore_evas/ecore_evas_buffer.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/ecore_evas/ecore_evas_buffer.c b/src/lib/ecore_evas/ecore_evas_buffer.c
index 7c381578b0..b8ab4df739 100644
--- a/src/lib/ecore_evas/ecore_evas_buffer.c
+++ b/src/lib/ecore_evas/ecore_evas_buffer.c
@@ -147,7 +147,11 @@ _ecore_evas_buffer_render(Ecore_Evas *ee)
147 int rend = 0; 147 int rend = 0;
148 148
149 bdata = ee->engine.data; 149 bdata = ee->engine.data;
150 if (bdata->in_render) return 0; 150 if (bdata->in_render)
151 {
152 DBG("ee=%p is rendering, skip.", ee);
153 return 0;
154 }
151 EINA_LIST_FOREACH(ee->sub_ecore_evas, ll, ee2) 155 EINA_LIST_FOREACH(ee->sub_ecore_evas, ll, ee2)
152 { 156 {
153 if (ee2->func.fn_pre_render) ee2->func.fn_pre_render(ee2); 157 if (ee2->func.fn_pre_render) ee2->func.fn_pre_render(ee2);