summaryrefslogtreecommitdiff
path: root/src/modules/evas/engines/software_ddraw
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/evas/engines/software_ddraw')
-rw-r--r--src/modules/evas/engines/software_ddraw/evas_engine.h2
-rw-r--r--src/modules/evas/engines/software_ddraw/evas_outbuf.c4
2 files changed, 4 insertions, 2 deletions
diff --git a/src/modules/evas/engines/software_ddraw/evas_engine.h b/src/modules/evas/engines/software_ddraw/evas_engine.h
index 084a50d4e7..9217cdcfa5 100644
--- a/src/modules/evas/engines/software_ddraw/evas_engine.h
+++ b/src/modules/evas/engines/software_ddraw/evas_engine.h
@@ -140,7 +140,7 @@ void evas_software_ddraw_outbuf_push_updated_region(Outbuf *buf,
140void evas_software_ddraw_outbuf_free_region_for_update(Outbuf *buf, 140void evas_software_ddraw_outbuf_free_region_for_update(Outbuf *buf,
141 RGBA_Image *update); 141 RGBA_Image *update);
142 142
143void evas_software_ddraw_outbuf_flush(Outbuf *buf); 143void evas_software_ddraw_outbuf_flush(Outbuf *buf, Evas_Render_Mode render_mode);
144 144
145void evas_software_ddraw_outbuf_idle_flush(Outbuf *buf); 145void evas_software_ddraw_outbuf_idle_flush(Outbuf *buf);
146 146
diff --git a/src/modules/evas/engines/software_ddraw/evas_outbuf.c b/src/modules/evas/engines/software_ddraw/evas_outbuf.c
index 0e121ac981..4d6a515c64 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,