mirror of
				https://bitbucket.org/s_l_teichmann/mtsatellite
				synced 2025-11-04 01:55:25 +01:00 
			
		
		
		
	Change draw call to match API. Hope that helps.
This commit is contained in:
		@@ -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)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user