Skip to content

Commit

Permalink
Merge pull request #14 from MetalBuilder/blit_buffer_destination_bug
Browse files Browse the repository at this point in the history
fixed blitBuffer destination
  • Loading branch information
gadirom authored Sep 9, 2022
2 parents f0367ee + 0da314b commit b16f234
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public extension BlitBuffer{
func destination<T>(_ container: MTLBufferContainer<T>)->BlitBuffer{
var b = self
let buffer = Buffer(container: container, offset: 0, index: 0)
b.inBuffer = buffer
b.outBuffer = buffer
return b
}
func count(count: Int)->BlitBuffer{
Expand Down

0 comments on commit b16f234

Please sign in to comment.