Skip to content

Commit

Permalink
Remove redundant getHandle send
Browse files Browse the repository at this point in the history
  • Loading branch information
tinchodias committed Sep 21, 2023
1 parent 0f03e0b commit 0cb536c
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/Alexandrie-Cairo/AeCairoA8FastGaussianBlurFilter.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -314,12 +314,11 @@ AeCairoA8FastGaussianBlurFilter >> boxBlurTFrom: scl to: tcl boxRadius: r [
AeCairoA8FastGaussianBlurFilter >> prepareBuffers [

surfaceBuffer := FFIExternalArray
fromHandle: surface data getHandle
fromHandle: surface data
type: FFIUInt8
size: surface byteSize.
bufferA := ByteArray withAll: surfaceBuffer.
bufferB := ByteArray new: surfaceBuffer size.

bufferA := ByteArray withAll: surfaceBuffer.
bufferB := ByteArray new: surfaceBuffer size

]

Expand Down

0 comments on commit 0cb536c

Please sign in to comment.