From: Changyeon Lee Date: Tue, 12 Mar 2024 11:58:13 +0000 (+0900) Subject: blender: Reset the current committed flag when the pending committed is none X-Git-Tag: accepted/tizen/unified/20240315.032932~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F80%2F307780%2F1;p=platform%2Fcore%2Fuifw%2Flibds-tizen.git blender: Reset the current committed flag when the pending committed is none Change-Id: I56fd12b833f6a9574c35981c4b590242e67624f6 --- diff --git a/src/blender/blender.c b/src/blender/blender.c index 7e70a85..272b0a8 100644 --- a/src/blender/blender.c +++ b/src/blender/blender.c @@ -235,8 +235,10 @@ blend_handle_surface_commit(struct wl_listener *listener, void *data) return; } - if (blend->pending.committed == DS_TIZEN_BLEND_STATE_NONE) + if (blend->pending.committed == DS_TIZEN_BLEND_STATE_NONE) { + blend->current.committed = DS_TIZEN_BLEND_STATE_NONE; return; + } if (blend->pending.committed & DS_TIZEN_BLEND_STATE_ALPHA) blend->current.alpha = blend->pending.alpha;