From 6124f236fc4d68348650a392d3afd69df6c8a54e Mon Sep 17 00:00:00 2001 From: Changyeon Lee Date: Mon, 13 Jan 2020 13:42:24 +0900 Subject: [PATCH] e_hwc_windows: unset buffer of target_window before accept Change-Id: Ic0c731c402814c7c9d47881928999a345f5738f0 --- src/bin/e_hwc_windows.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/bin/e_hwc_windows.c b/src/bin/e_hwc_windows.c index c0185d6579..5e8fff73eb 100644 --- a/src/bin/e_hwc_windows.c +++ b/src/bin/e_hwc_windows.c @@ -2502,6 +2502,12 @@ _e_hwc_windows_evaluate(E_Hwc *hwc) goto re_evaluate; } + if (hwc_mode == E_HWC_MODE_FULL) + { + if (((E_Hwc_Window *)hwc->target_hwc_window)->buffer.tsurface) + _e_hwc_windows_target_buffer_fetch(hwc, !hwc->pp_set); + } + /* accept the result of the validation */ if (hwc->pp_set) ret = _e_hwc_windows_accept(hwc, EINA_FALSE); @@ -2513,12 +2519,6 @@ _e_hwc_windows_evaluate(E_Hwc *hwc) goto re_evaluate; } - if (hwc_mode == E_HWC_MODE_FULL) - { - if (((E_Hwc_Window *)hwc->target_hwc_window)->buffer.tsurface) - _e_hwc_windows_target_buffer_fetch(hwc, !hwc->pp_set); - } - hwc->transition = EINA_FALSE; return EINA_TRUE; -- 2.34.1