diff --git a/client/renderers/EGL/texture.c b/client/renderers/EGL/texture.c index c7cbef91..c714d5bb 100644 --- a/client/renderers/EGL/texture.c +++ b/client/renderers/EGL/texture.c @@ -479,6 +479,7 @@ bool egl_texture_update_from_dma(EGL_Texture * texture, const FrameBuffer * fram DEBUG_EGL_ERROR("glClientWaitSync failed"); } + glDeleteSync(fence); atomic_fetch_add_explicit(&texture->state.w, 1, memory_order_release); return true; }