summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/modules/evas/engines/gl_x11/evas_engine.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/evas/engines/gl_x11/evas_engine.c b/src/modules/evas/engines/gl_x11/evas_engine.c
index 9441d6dccd..7fde46a037 100644
--- a/src/modules/evas/engines/gl_x11/evas_engine.c
+++ b/src/modules/evas/engines/gl_x11/evas_engine.c
@@ -1494,7 +1494,7 @@ eng_output_flush(void *data, Evas_Render_Mode render_mode)
1494 { 1494 {
1495 re->info->callback.pre_swap(re->info->callback.data, re->evas); 1495 re->info->callback.pre_swap(re->info->callback.data, re->evas);
1496 } 1496 }
1497 if ((glsym_eglSwapBuffersRegion) && (re->mode != MODE_FULL)) 1497 if ((glsym_eglSwapBuffersWithDamage) && (re->mode != MODE_FULL))
1498 { 1498 {
1499 EGLint num = 0, *rects = NULL, i = 0; 1499 EGLint num = 0, *rects = NULL, i = 0;
1500 Tilebuf_Rect *r; 1500 Tilebuf_Rect *r;
@@ -1545,9 +1545,9 @@ eng_output_flush(void *data, Evas_Render_Mode render_mode)
1545 } 1545 }
1546 i += 4; 1546 i += 4;
1547 } 1547 }
1548 glsym_eglSwapBuffersRegion(re->win->egl_disp, 1548 glsym_eglSwapBuffersWithDamage(re->win->egl_disp,
1549 re->win->egl_surface[0], 1549 re->win->egl_surface[0],
1550 num, rects); 1550 rects, num);
1551 } 1551 }
1552 } 1552 }
1553 else 1553 else