ebiten: clarify the same images size rule for DrawTrianglesShaderOptions (#3187)

Since it's not allowed to have differently-sized images for DrawTrianglesShaderOptions in pixels mode, the comment should be updated.
This commit is contained in:
quasilyte
2025-01-31 14:36:31 +04:00
committed by GitHub
parent c9d3b98b80
commit 1790af6ed8

View File

@@ -638,7 +638,8 @@ type DrawTrianglesShaderOptions struct {
Uniforms map[string]any
// Images is a set of the source images.
// All the images' sizes must be the same.
// In the texel mode, all the image sizes must be the same.
// The pixel mode allows images of different sizes.
Images [4]*Image
// FillRule indicates the rule how an overlapped region is rendered.