diff --git a/image.go b/image.go index ec2e7473f..c1e3a9392 100644 --- a/image.go +++ b/image.go @@ -429,6 +429,8 @@ func init() { // DrawTrianglesShader draws triangles with the specified vertices and their indices with the specified shader. // +// For the details about the shader, see https://ebiten.org/documents/shader.html. +// // If len(indices) is not multiple of 3, DrawTrianglesShader panics. // // If len(indices) is more than MaxIndicesNum, DrawTrianglesShader panics. @@ -563,6 +565,8 @@ func init() { // DrawRectShader draws a rectangle with the specified width and height with the specified shader. // +// For the details about the shader, see https://ebiten.org/documents/shader.html. +// // When one of the specified image is non-nil and is disposed, DrawRectShader panics. // // When the image i is disposed, DrawRectShader does nothing.