mirror of
https://bitbucket.org/s_l_teichmann/mtsatellite
synced 2024-12-24 01:00:18 +01:00
Change draw call to match API. Hope that helps.
This commit is contained in:
parent
a6bbf4a8bd
commit
db8c5bd8e0
@ -164,8 +164,8 @@ func fuseTile(scratch *image.RGBA, job *pyramidJob) (err error) {
|
||||
img := loadImage(path)
|
||||
|
||||
draw.Draw(scratch,
|
||||
image.Rect(0, 0, 256, 256),
|
||||
img, image.Pt(ofs[i][0], ofs[i][1]), draw.Src)
|
||||
image.Rect(ofs[i][0], ofs[i][1], 256, 256),
|
||||
img, image.ZP, draw.Src)
|
||||
}
|
||||
|
||||
resized := resize.Resize(256, 256, scratch, resize.Bicubic)
|
||||
|
Loading…
Reference in New Issue
Block a user