diff --git a/image.go b/image.go index f04137cd1..d6d6f3da8 100644 --- a/image.go +++ b/image.go @@ -392,6 +392,8 @@ const MaxIndicesNum = graphics.IndicesNum // // When the given image is disposed, DrawTriangles panics. // +// The given image can be nil only when a shader is specified at the given options. +// // When the image i is disposed, DrawTriangles does nothing. // // img can be nil only when options.Shader is not nil.