summaryrefslogtreecommitdiff
path: root/src/modules/evas/engines/software_ddraw/evas_outbuf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/evas/engines/software_ddraw/evas_outbuf.c')
-rw-r--r--src/modules/evas/engines/software_ddraw/evas_outbuf.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/modules/evas/engines/software_ddraw/evas_outbuf.c b/src/modules/evas/engines/software_ddraw/evas_outbuf.c
index 0e121ac..4d6a515 100644
--- a/src/modules/evas/engines/software_ddraw/evas_outbuf.c
+++ b/src/modules/evas/engines/software_ddraw/evas_outbuf.c
@@ -356,7 +356,7 @@ evas_software_ddraw_outbuf_free_region_for_update(Outbuf *buf EINA_UNUSED,
356} 356}
357 357
358void 358void
359evas_software_ddraw_outbuf_flush(Outbuf *buf) 359evas_software_ddraw_outbuf_flush(Outbuf *buf, Evas_Render_Mode render_mode)
360{ 360{
361 Eina_List *l; 361 Eina_List *l;
362 RGBA_Image *im; 362 RGBA_Image *im;
@@ -367,6 +367,8 @@ evas_software_ddraw_outbuf_flush(Outbuf *buf)
367 int ddraw_pitch; 367 int ddraw_pitch;
368 int ddraw_depth; 368 int ddraw_depth;
369 369
370 if (render_mode == EVAS_RENDER_MODE_ASYNC_INIT) return;
371
370 /* lock the back surface */ 372 /* lock the back surface */
371 if (!(ddraw_data = evas_software_ddraw_lock(buf, 373 if (!(ddraw_data = evas_software_ddraw_lock(buf,
372 &ddraw_width, 374 &ddraw_width,