From e7a039b96f863b4d1cc60c0ba3e68e22e2b7f746 Mon Sep 17 00:00:00 2001 From: "Junkyeong, Kim" Date: Fri, 4 Jun 2021 20:23:31 +0900 Subject: [PATCH] e_hwc_windows: Erase unnecessary condition Change-Id: Ie6df3ceaf697dd73163ce5a333fde1716fd03f68 Signed-off-by: Junkyeong, Kim --- src/bin/e_hwc_windows.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/bin/e_hwc_windows.c b/src/bin/e_hwc_windows.c index 84990ad..2999c5a 100644 --- a/src/bin/e_hwc_windows.c +++ b/src/bin/e_hwc_windows.c @@ -2691,16 +2691,11 @@ _e_hwc_windows_sw_copy(E_Hwc *hwc, tbm_surface_h src_tsurface, tbm_surface_h dst static Eina_Bool _e_hwc_windows_presentation_evaluation_check(E_Hwc *hwc) { - E_Hwc_Window_State state; E_Hwc_Window_Target *target_hwc_window; tbm_surface_h target_tsurface, src_tsurface; E_Hwc_Window_Queue *queue; E_Hwc_Window_Queue_Buffer *queue_buffer = NULL; - /* check if the window has the devcie type. */ - state = e_hwc_window_state_get(hwc->presentation_hwc_window); - if (state == E_HWC_WINDOW_STATE_DEVICE) return EINA_TRUE; - /* copy the presentation_hwc_window to the target_window. */ target_hwc_window = hwc->target_hwc_window; EINA_SAFETY_ON_NULL_RETURN_VAL(target_hwc_window, EINA_FALSE); -- 2.7.4