ebiten: Fix comments

This commit is contained in:
Hajime Hoshi 2020-07-23 17:14:36 +09:00
parent 388e2623e8
commit 0123c0676a

View File

@ -118,6 +118,7 @@ func (i *Image) Fill(clr color.Color) error {
// elements.
// * All CompositeMode values are same
// * All Filter values are same
// * All Shader values are nil
//
// Even when all the above conditions are satisfied, multiple draw commands can
// be used in really rare cases. Ebiten images usually share an internal
@ -129,6 +130,8 @@ func (i *Image) Fill(clr color.Color) error {
//
// For more performance tips, see https://ebiten.org/documents/performancetips.html
//
// ColorM and Filter are ignored when Shader is not nil.
//
// DrawImage always returns nil as of 1.5.0.
func (i *Image) DrawImage(img *Image, options *DrawImageOptions) error {
i.copyCheck()