ebiten: update comments

This commit is contained in:
Hajime Hoshi 2022-07-13 02:26:27 +09:00
parent 7bf179472b
commit 1daf3bd8ff

View File

@ -398,10 +398,10 @@ type DrawTrianglesOptions struct {
FillRule FillRule FillRule FillRule
} }
// MaxIndicesCount is the maximum number of indices for DrawTriangles. // MaxIndicesCount is the maximum number of indices for DrawTriangles and DrawTrianglesShader.
const MaxIndicesCount = graphics.IndicesCount const MaxIndicesCount = graphics.IndicesCount
// MaxIndicesNum is the maximum number of indices for DrawTriangles. // MaxIndicesNum is the maximum number of indices for DrawTriangles and DrawTrianglesShader.
// //
// Deprecated: as of v2.4. Use MaxIndicesCount instead. // Deprecated: as of v2.4. Use MaxIndicesCount instead.
const MaxIndicesNum = graphics.IndicesCount const MaxIndicesNum = graphics.IndicesCount