diff options
| author | Pietro Gagliardi <[email protected]> | 2018-09-01 19:22:30 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2018-09-01 19:22:30 -0400 |
| commit | 9e7ee0d659dee102e8502a116648c7dddb195772 (patch) | |
| tree | f622f37c2473fa5cc87cbdeda5d02dec48adfced /zz_table.go | |
| parent | e9874436a2e8ecd55838faf3879f68598e88a712 (diff) | |
Changed image.NRGBA to image.RGBA for Alpha 4.1.
Diffstat (limited to 'zz_table.go')
| -rw-r--r-- | zz_table.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/zz_table.go b/zz_table.go index 3e3a3b9..e7d3e2c 100644 --- a/zz_table.go +++ b/zz_table.go @@ -114,9 +114,9 @@ func appendImageNamed(i *ui.Image, which string) { if err != nil { panic(err) } - nr, ok := img.(*image.NRGBA) + nr, ok := img.(*image.RGBA) if !ok { - i2 := image.NewNRGBA(img.Bounds()) + i2 := image.NewRGBA(img.Bounds()) draw.Draw(i2, i2.Bounds(), img, img.Bounds().Min, draw.Src) nr = i2 } |
