diff options
-rw-r--r-- | src/tdm_vc4_hwc_window.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/tdm_vc4_hwc_window.c b/src/tdm_vc4_hwc_window.c index 011fb59..9cdd347 100644 --- a/src/tdm_vc4_hwc_window.c +++ b/src/tdm_vc4_hwc_window.c @@ -204,8 +204,7 @@ vc4_hwc_window_set_acquire_fence(hal_tdm_hwc_window *hwc_window, int acquire_fen hwc_window_data->acquire_fence = -1; } - if (acquire_fence >= 0) - hwc_window_data->acquire_fence = dup(acquire_fence); + hwc_window_data->acquire_fence = acquire_fence; return HAL_TDM_ERROR_NONE; } |