From dc2662e4634f1c3b77dcb546ca8f7f97aed255b5 Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Wed, 23 Sep 2020 16:45:00 +0900 Subject: [PATCH] ebiten: Add links to documents/shader.html --- image.go | 4 ++++ 1 file changed, 4 insertions(+) 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.