diff --git a/internal/graphicscommand/image.go b/internal/graphicscommand/image.go index 0b3e681cd..dfe6f26a8 100644 --- a/internal/graphicscommand/image.go +++ b/internal/graphicscommand/image.go @@ -149,8 +149,8 @@ func (i *Image) InternalSize() (int, int) { // The source image is 1) src argument if non-nil, or 2) an image value in the uniform variables if it exists. // If there are multiple images in the uniform variables, the smallest ID's value is adopted. // -// If the source image is not specified, i.e., src is nil and there is no image in the uniform variables, these are -// not used. +// If the source image is not specified, i.e., src is nil and there is no image in the uniform variables, the +// elements for the source image are not used. func (i *Image) DrawTriangles(src *Image, vertices []float32, indices []uint16, clr *affine.ColorM, mode driver.CompositeMode, filter driver.Filter, address driver.Address, shader *Shader, uniforms map[int]interface{}) { if src != nil && src.screen { panic("graphicscommand: the screen image cannot be the rendering source")