blender: Reset the current committed flag when the pending committed is none 80/307780/1
authorChangyeon Lee <cyeon.lee@samsung.com>
Tue, 12 Mar 2024 11:58:13 +0000 (20:58 +0900)
committerTizen Window System <tizen.windowsystem@gmail.com>
Wed, 13 Mar 2024 05:03:42 +0000 (14:03 +0900)
Change-Id: I56fd12b833f6a9574c35981c4b590242e67624f6

src/blender/blender.c

index 7e70a85..272b0a8 100644 (file)
@@ -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;