diff options
| author | Pietro Gagliardi <[email protected]> | 2014-08-30 01:15:28 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-08-30 01:15:28 -0400 |
| commit | 4f16b9438877d353e52870cb3631509bd0677da9 (patch) | |
| tree | 41aec2030b2b837a6e5aef94e9233fa4e89b9716 /redo/imagelist_unix.go | |
| parent | 432a210726f2c5b753ff430765e9b3736d8db3b2 (diff) | |
Fixed image lists on Windows being NON-premultiplied.
Diffstat (limited to 'redo/imagelist_unix.go')
| -rw-r--r-- | redo/imagelist_unix.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/redo/imagelist_unix.go b/redo/imagelist_unix.go index aeb7a13..246f281 100644 --- a/redo/imagelist_unix.go +++ b/redo/imagelist_unix.go @@ -37,7 +37,7 @@ func (i *imagelist) Append(img *image.RGBA) { } C.cairo_surface_flush(surface) toARGB(img, uintptr(unsafe.Pointer(C.cairo_image_surface_get_data(surface))), - int(C.cairo_image_surface_get_stride(surface))) + int(C.cairo_image_surface_get_stride(surface)), false) // not NRGBA C.cairo_surface_mark_dirty(surface) basepixbuf := C.gdk_pixbuf_get_from_surface(surface, 0, 0, C.gint(img.Rect.Dx()), C.gint(img.Rect.Dy())) if basepixbuf == nil { |
