summaryrefslogtreecommitdiff
path: root/src/modules/evas/engines/wayland_egl/evas_engine.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/evas/engines/wayland_egl/evas_engine.c')
-rw-r--r--src/modules/evas/engines/wayland_egl/evas_engine.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/modules/evas/engines/wayland_egl/evas_engine.c b/src/modules/evas/engines/wayland_egl/evas_engine.c
index f615acb..0630daf 100644
--- a/src/modules/evas/engines/wayland_egl/evas_engine.c
+++ b/src/modules/evas/engines/wayland_egl/evas_engine.c
@@ -510,10 +510,10 @@ eng_output_info_setup(void *info)
510 info->render_mode = EVAS_RENDER_MODE_BLOCKING; 510 info->render_mode = EVAS_RENDER_MODE_BLOCKING;
511} 511}
512 512
513static Render_Engine_Swap_Mode 513static Render_Output_Swap_Mode
514_eng_swap_mode_get(void) 514_eng_swap_mode_get(void)
515{ 515{
516 Render_Engine_Swap_Mode swap_mode = MODE_FULL; 516 Render_Output_Swap_Mode swap_mode = MODE_FULL;
517 const char *s; 517 const char *s;
518 518
519 if ((s = getenv("EVAS_GL_SWAP_MODE"))) 519 if ((s = getenv("EVAS_GL_SWAP_MODE")))
@@ -551,7 +551,7 @@ eng_output_setup(void *engine EINA_UNUSED, void *info, unsigned int w, unsigned
551 Evas_Engine_Info_Wayland *inf = info; 551 Evas_Engine_Info_Wayland *inf = info;
552 Render_Engine *re; 552 Render_Engine *re;
553 Outbuf *ob; 553 Outbuf *ob;
554 Render_Engine_Swap_Mode swap_mode; 554 Render_Output_Swap_Mode swap_mode;
555 555
556 swap_mode = _eng_swap_mode_get(); 556 swap_mode = _eng_swap_mode_get();
557 557
@@ -631,7 +631,7 @@ eng_output_update(void *engine EINA_UNUSED, void *data, void *info, unsigned int
631 ob = eng_get_ob(re); 631 ob = eng_get_ob(re);
632 if (!ob) 632 if (!ob)
633 { 633 {
634 Render_Engine_Swap_Mode swap_mode = MODE_AUTO; 634 Render_Output_Swap_Mode swap_mode = MODE_AUTO;
635 635
636 swap_mode = _eng_swap_mode_get(); 636 swap_mode = _eng_swap_mode_get();
637 ob = eng_window_new(inf, w, h, swap_mode); 637 ob = eng_window_new(inf, w, h, swap_mode);
@@ -669,7 +669,7 @@ eng_output_update(void *engine EINA_UNUSED, void *data, void *info, unsigned int
669 (ob->info->info.depth != ob->depth) || 669 (ob->info->info.depth != ob->depth) ||
670 (ob->info->info.destination_alpha != ob->alpha)) 670 (ob->info->info.destination_alpha != ob->alpha))
671 { 671 {
672 Render_Engine_Swap_Mode swap_mode = MODE_AUTO; 672 Render_Output_Swap_Mode swap_mode = MODE_AUTO;
673 673
674 gl_wins--; 674 gl_wins--;
675 if (!ob->info->info.wl_display) 675 if (!ob->info->info.wl_display)