From ec9863dfef3b90730d8c8c230648fd28ed6a13f5 Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Tue, 21 Jul 2020 06:23:39 +0900 Subject: [PATCH] ebiten: Bug fix: Wrong argument type at DrawImageWithShader --- image.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/image.go b/image.go index be5f3f733..9b41ce6e8 100644 --- a/image.go +++ b/image.go @@ -364,7 +364,7 @@ type DrawImageWithShaderOptions struct { // When the image i is disposed, DrawImageWithShader does nothing. // // This API is experimental. -func (i *Image) DrawImageWithShader(img *Image, shader *Shader, options *DrawRectangleWithShaderOptions) { +func (i *Image) DrawImageWithShader(img *Image, shader *Shader, options *DrawImageWithShaderOptions) { w, h := img.Size() op := &DrawRectangleWithShaderOptions{ Images: [4]*Image{img},