summaryrefslogtreecommitdiff
path: root/image.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2018-09-01 19:22:30 -0400
committerPietro Gagliardi <[email protected]>2018-09-01 19:22:30 -0400
commit9e7ee0d659dee102e8502a116648c7dddb195772 (patch)
treef622f37c2473fa5cc87cbdeda5d02dec48adfced /image.go
parente9874436a2e8ecd55838faf3879f68598e88a712 (diff)
Changed image.NRGBA to image.RGBA for Alpha 4.1.
Diffstat (limited to 'image.go')
-rw-r--r--image.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/image.go b/image.go
index d36a401..b710045 100644
--- a/image.go
+++ b/image.go
@@ -47,7 +47,7 @@ func (i *Image) Free() {
}
// Append adds the given image as a representation of the Image.
-func (i *Image) Append(img *image.NRGBA) {
+func (i *Image) Append(img *image.RGBA) {
cpix := C.CBytes(img.Pix)
defer C.free(cpix)
C.uiImageAppend(i.i, cpix,