Skip to content

Commit

Permalink
ebiten: update comments
Browse files Browse the repository at this point in the history
Updates #1870
  • Loading branch information
hajimehoshi committed Aug 27, 2023
1 parent a4f8c1c commit e1b77fe
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions image.go
Expand Up @@ -575,6 +575,9 @@ var _ [len(DrawTrianglesShaderOptions{}.Images) - graphics.ShaderImageCount]stru
//
// For the details about the shader, see https://ebitengine.org/en/documents/shader.html.
//
// When one of the specified image is non-nil and its size is different from (width, height), DrawTrianglesShader panics.
// When one of the specified image is non-nil and is disposed, DrawTrianglesShader panics.
//
// If len(vertices) is more than MaxVerticesCount, the exceeding part is ignored.
//
// If len(indices) is not multiple of 3, DrawTrianglesShader panics.
Expand Down

0 comments on commit e1b77fe

Please sign in to comment.