Rename color to rgbColor to not conflict with image/color

This commit is contained in:
DarthSim
2019-01-11 21:08:34 +06:00
parent ed795675be
commit 165ae18d87
4 changed files with 11 additions and 11 deletions

View File

@@ -817,7 +817,7 @@ func vipsSmartCrop(img **C.struct__VipsImage, width, height int) error {
return nil
}
func vipsFlatten(img **C.struct__VipsImage, bg color) error {
func vipsFlatten(img **C.struct__VipsImage, bg rgbColor) error {
var tmp *C.struct__VipsImage
if C.vips_flatten_go(*img, &tmp, C.double(bg.R), C.double(bg.G), C.double(bg.B)) != 0 {