summaryrefslogtreecommitdiff
path: root/autodistortion/autodistortion.go
diff options
context:
space:
mode:
Diffstat (limited to 'autodistortion/autodistortion.go')
-rw-r--r--autodistortion/autodistortion.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/autodistortion/autodistortion.go b/autodistortion/autodistortion.go
index c821d87..6a12e58 100644
--- a/autodistortion/autodistortion.go
+++ b/autodistortion/autodistortion.go
@@ -83,7 +83,7 @@ func Distort(img image.Image, functionLen int, nThreads int) image.Image {
return rgba
}
- info := workInfo{img, xfunction, yfunction}
+ info := WorkInfo{img, xfunction, yfunction}
// Make a slice of pixels (image.RGBA.Set isn't thread safe ): )
pixels := make([][]color.RGBA, height)