Skip to content

Commit

Permalink
Merge pull request #17 from strangeliu/main
Browse files Browse the repository at this point in the history
Replace drawable.addPresentedHandler with commandBuffer.addCompletedH…
  • Loading branch information
Lakr233 authored Feb 19, 2025
2 parents 9cf554b + 5993665 commit 62c3105
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/ColorfulX/MulticolorGradientView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ open class MulticolorGradientView: MetalView {
lock.unlock()
return
}
drawable.addPresentedHandler { _ in
commandBuffer.addCompletedHandler { _ in
lock.unlock()
}

Expand Down

0 comments on commit 62c3105

Please sign in to comment.