fixed error with image generation

This commit is contained in:
Stephen M. McQuay
2012-08-02 15:04:07 -06:00
parent e99ca5c8fa
commit bdc7a5c44a
2 changed files with 5 additions and 7 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ import (
func CalculateImage(f func(int, int) [][]uint8) image.Image {
const (
dx = 256
dy = 256
dy = 1024
)
data := f(dx, dy)
m := image.NewNRGBA(image.Rect(0, 0, dx, dy))